Paper/CraftBukkit-Patches/0123-Fix-Null-Tile-Entity-Worlds.patch
2016-03-03 03:46:48 -06:00

22 Zeilen
736 B
Diff

From a5c2d12d9f349e8eed55096b5ac9fa0c02bc90f6 Mon Sep 17 00:00:00 2001
From: "Evan A. Haskell" <eah2119@gmail.com>
Date: Thu, 26 Jun 2014 18:37:29 -0400
Subject: [PATCH] Fix Null Tile Entity Worlds
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index 8a79f5e..bb49102 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -1935,6 +1935,7 @@ public abstract class World implements IBlockAccess {
}
}
+ tileentity.a(this); // Spigot - No null worlds
this.b.add(tileentity);
} else {
this.a(tileentity);
--
2.5.0