Skip to content

Commit

Permalink
chore: spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWishsama committed Dec 25, 2024
1 parent 2017d3d commit ea6ba00
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package com.xzavier0722.mc.plugin.slimefun4.storage.util;

import city.norain.slimefun4.SlimefunExtended;
import io.github.thebusybiscuit.slimefun4.implementation.Slimefun;

import java.util.logging.Level;

import org.bukkit.Bukkit;
import org.bukkit.Chunk;
import org.bukkit.Location;
Expand All @@ -28,10 +24,10 @@ public static Location toLocation(String lKey) {
var strArr = lKey.split(";");
var loc = strArr[1].split(":");
return new Location(
Bukkit.getWorld(strArr[0]),
Double.parseDouble(loc[0]),
Double.parseDouble(loc[1]),
Double.parseDouble(loc[2]));
Bukkit.getWorld(strArr[0]),
Double.parseDouble(loc[0]),
Double.parseDouble(loc[1]),
Double.parseDouble(loc[2]));
} catch (Exception e) {
throw new RuntimeException("Unable to parse location [" + lKey + "]", e);
}
Expand Down

0 comments on commit ea6ba00

Please sign in to comment.