PaperMC/paper-server/nms-patches/TileEntityPiston.patch
CraftBukkit/Spigot d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00

10 lines
286 B
Diff

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