Paper/CraftBukkit-Patches/0137-Fix-Null-Tile-Entity-Worlds.patch
2015-03-19 19:28:42 -05:00

22 Zeilen
736 B
Diff

From e0775a83d8d6e9c9df2920ee88762a4342a610a8 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 1507117..4a92bd0 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -1944,6 +1944,7 @@ public abstract class World implements IBlockAccess {
}
}
+ tileentity.a(this); // Spigot - No null worlds
this.b.add(tileentity);
} else {
this.a(tileentity);
--
2.1.0