Merge branch 'development'

This commit is contained in:
Brianna 2020-02-26 22:59:29 -05:00
commit 0722b11a06
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<groupId>com.songoda</groupId> <groupId>com.songoda</groupId>
<artifactId>EpicFurnaces</artifactId> <artifactId>EpicFurnaces</artifactId>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<version>4.5.5</version> <version>4.5.6</version>
<build> <build>
<defaultGoal>clean install</defaultGoal> <defaultGoal>clean install</defaultGoal>
<finalName>EpicFurnaces-${project.version}</finalName> <finalName>EpicFurnaces-${project.version}</finalName>

View File

@ -63,7 +63,8 @@ public class Methods {
double x = location.getBlockX(); double x = location.getBlockX();
double y = location.getBlockY(); double y = location.getBlockY();
double z = location.getBlockZ(); 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("/", ""); str = str.replace(".0", "").replace("/", "");
return str; return str;
} }