PaperMC/nms-patches/TileEntityPiston.patch

9 lines
199 B
Diff
Raw Normal View History

@@ -104,6 +104,7 @@
}
public void c() {
+ if (this.world == null) return; // CraftBukkit
this.j = this.i;
if (this.j >= 1.0F) {
this.a(1.0F, 0.25F);