mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-02-12 01:41:27 +01:00
Fix for world serialization.
This commit is contained in:
parent
e396148799
commit
ffacd9869b
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicHoppers"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "4.2.3"
|
||||
version: "4.2.4"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user