PaperMC/nms-patches/TileEntityPiston.patch

11 lines
287 B
Diff
Raw Normal View History

2015-05-25 20:37:24 +10:00
--- a/net/minecraft/server/TileEntityPiston.java
+++ b/net/minecraft/server/TileEntityPiston.java
2016-06-09 11:43:49 +10:00
@@ -133,6 +133,7 @@
}
2016-06-09 11:43:49 +10:00
public void E_() {
+ if (this.world == null) return; // CraftBukkit
this.j = this.i;
if (this.j >= 1.0F) {
2016-05-10 21:47:39 +10:00
this.j();