mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-12-11 03:03:27 +01:00
Attempt at fixing issue with location saving.
This commit is contained in:
parent
47661cf04e
commit
ea6646af27
@ -63,7 +63,8 @@ public class Methods {
|
||||
double x = location.getBlockX();
|
||||
double y = location.getBlockY();
|
||||
double z = location.getBlockZ();
|
||||
String str = w + ":" + x + ":" + y + ":" + z;
|
||||
DecimalFormat df = new DecimalFormat("####.####");
|
||||
String str = w + ":" + df.format(x) + ":" + df.format(y) + ":" + df.format(z);
|
||||
str = str.replace(".0", "").replace("/", "");
|
||||
return str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user