spigot/CraftBukkit-Patches/0140-Fix-Null-Tile-Entity-Worlds.patch

22 lines
736 B
Diff
Raw Normal View History

2014-11-28 20:41:22 +00:00
From 168f7a3f93e3692a7b18d5626048051418f141a2 Mon Sep 17 00:00:00 2001
2014-07-22 18:56:56 +10:00
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
2014-11-28 20:41:22 +00:00
index ffcef45..2f79c83 100644
2014-07-22 18:56:56 +10:00
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -1859,6 +1859,7 @@ public abstract class World implements IBlockAccess {
2014-07-22 18:56:56 +10:00
}
}
+ tileentity.a(this); // Spigot - No null worlds
this.a.add(tileentity);
} else {
this.a(tileentity);
2014-07-22 18:56:56 +10:00
--
2.1.0
2014-07-22 18:56:56 +10:00