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

22 lines
815 B
Diff
Raw Normal View History

2017-11-10 10:52:45 +11:00
From 9628466bf7d6de92a2ac4a1b540f2e5c4e9fc2f5 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
2017-11-10 10:52:45 +11:00
index f835b1b0..7013dfc2 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
2017-09-18 20:00:00 +10:00
@@ -1958,6 +1958,7 @@ public abstract class World implements IBlockAccess {
2016-05-10 21:48:25 +10:00
}
2014-07-22 18:56:56 +10:00
}
2016-05-10 21:48:25 +10:00
+ tileentity.a(this); // Spigot - No null worlds
this.b.add(tileentity);
} else {
2016-11-17 12:41:12 +11:00
this.getChunkAtWorldCoords(blockposition).a(blockposition, tileentity);
2014-07-22 18:56:56 +10:00
--
2017-11-10 10:52:45 +11:00
2.14.1
2014-07-22 18:56:56 +10:00