diff --git a/pom.xml b/pom.xml index ac1acee..b8c86cb 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda EpicFurnaces 4.0.0 - 4.5.5 + 4.5.6 clean install EpicFurnaces-${project.version} diff --git a/src/main/java/com/songoda/epicfurnaces/utils/Methods.java b/src/main/java/com/songoda/epicfurnaces/utils/Methods.java index d67b6c7..b7615f0 100644 --- a/src/main/java/com/songoda/epicfurnaces/utils/Methods.java +++ b/src/main/java/com/songoda/epicfurnaces/utils/Methods.java @@ -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; }