PaperMC/paper-server/nms-patches/TileEntityPiston.patch
CraftBukkit/Spigot a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +10:00

10 lines
287 B
Diff

--- a/net/minecraft/server/TileEntityPiston.java
+++ b/net/minecraft/server/TileEntityPiston.java
@@ -133,6 +133,7 @@
}
public void E_() {
+ if (this.world == null) return; // CraftBukkit
this.j = this.i;
if (this.j >= 1.0F) {
this.j();