Weird bug fix.

This commit is contained in:
Brianna 2019-07-14 20:42:41 -04:00
parent 7f7dc76b02
commit fdf4f24e2e

View File

@ -88,14 +88,13 @@ public class Methods {
if (location == null)
return "";
String w = location.getWorld().getName();
double x = location.getX();
double y = location.getY();
double z = location.getZ();
double x = location.getBlockX();
double y = location.getBlockY();
double z = location.getBlockZ();
String str = w + ":" + x + ":" + y + ":" + z;
str = str.replace(".0", "").replace(".", "/");
str = str.replace(".0", "").replace("/", "");
return str;
}
private static Map<String, Location> serializeCache = new HashMap<>();
/**