diff options
author | md_5 <git@md-5.net> | 2018-10-02 20:52:57 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-10-02 20:52:57 +1000 |
commit | c8f68670f5d5b7d2733fbf2e50c8825c5138ba44 (patch) | |
tree | 32756661bd1ef7e65d71418cfb9888ca500ba37a | |
parent | 7a2f486768afeb6a54c39b19079e9f31f3adad1a (diff) | |
download | craftbukkit-c8f68670f5d5b7d2733fbf2e50c8825c5138ba44.tar craftbukkit-c8f68670f5d5b7d2733fbf2e50c8825c5138ba44.tar.gz craftbukkit-c8f68670f5d5b7d2733fbf2e50c8825c5138ba44.tar.lz craftbukkit-c8f68670f5d5b7d2733fbf2e50c8825c5138ba44.tar.xz craftbukkit-c8f68670f5d5b7d2733fbf2e50c8825c5138ba44.zip |
Save server version
-rw-r--r-- | nms-patches/WorldData.patch | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/nms-patches/WorldData.patch b/nms-patches/WorldData.patch index f13eb7d8..256a27e0 100644 --- a/nms-patches/WorldData.patch +++ b/nms-patches/WorldData.patch @@ -28,7 +28,15 @@ nbttagcompound.setLong("RandomSeed", this.e); nbttagcompound.setString("generatorName", this.f.b()); nbttagcompound.setInt("generatorVersion", this.f.getVersion()); -@@ -478,6 +485,16 @@ +@@ -389,6 +396,7 @@ + nbttagcompound.set("CustomBossEvents", this.U); + } + ++ nbttagcompound.setString("Bukkit.Version", Bukkit.getName() + "/" + Bukkit.getVersion() + "/" + Bukkit.getBukkitVersion()); // CraftBukkit + } + + public long getSeed() { +@@ -478,6 +486,16 @@ } public void setThundering(boolean flag) { @@ -45,7 +53,7 @@ this.z = flag; } -@@ -494,6 +511,16 @@ +@@ -494,6 +512,16 @@ } public void setStorm(boolean flag) { @@ -62,7 +70,7 @@ this.x = flag; } -@@ -643,6 +670,12 @@ +@@ -643,6 +671,12 @@ public void setDifficulty(EnumDifficulty enumdifficulty) { this.G = enumdifficulty; @@ -75,7 +83,7 @@ } public boolean isDifficultyLocked() { -@@ -724,4 +757,12 @@ +@@ -724,4 +758,12 @@ public void c(@Nullable NBTTagCompound nbttagcompound) { this.U = nbttagcompound; } |