Fix for world serialization.

This commit is contained in:
Brianna 2019-08-15 13:34:09 -04:00
parent e396148799
commit ffacd9869b
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "EpicHoppers"
path: "/builds/$CI_PROJECT_PATH"
version: "4.2.3"
version: "4.2.4"
build:
stage: build

View File

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