mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-11-30 22:03:22 +01:00
Weird bug fix.
This commit is contained in:
parent
7f7dc76b02
commit
fdf4f24e2e
@ -88,14 +88,13 @@ public class Methods {
|
|||||||
if (location == null)
|
if (location == null)
|
||||||
return "";
|
return "";
|
||||||
String w = location.getWorld().getName();
|
String w = location.getWorld().getName();
|
||||||
double x = location.getX();
|
double x = location.getBlockX();
|
||||||
double y = location.getY();
|
double y = location.getBlockY();
|
||||||
double z = location.getZ();
|
double z = location.getBlockZ();
|
||||||
String str = w + ":" + x + ":" + y + ":" + z;
|
String str = w + ":" + x + ":" + y + ":" + z;
|
||||||
str = str.replace(".0", "").replace(".", "/");
|
str = str.replace(".0", "").replace("/", "");
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Map<String, Location> serializeCache = new HashMap<>();
|
private static Map<String, Location> serializeCache = new HashMap<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user