Lets use integers instead of doubles.

This commit is contained in:
Brianna 2020-07-24 09:22:37 -05:00
parent efdb78c0c2
commit dd7c6dfcb5
2 changed files with 3 additions and 3 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -114,9 +114,9 @@ public class Methods {
if (location == null || location.getWorld() == null)
return "";
String w = location.getWorld().getName();
double x = location.getX();
double y = location.getY();
double z = location.getZ();
int x = location.getBlockX();
int y = location.getBlockY();
int z = location.getBlockZ();
String str = w + ":" + x + ":" + y + ":" + z;
str = str.replace(".0", "").replace(".", "/");
return str;