diff --git a/nms-patches/WorldData.patch b/nms-patches/WorldData.patch index f13eb7d84c..256a27e067 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; }