summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityPiston.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityPiston.patch')
-rw-r--r--nms-patches/TileEntityPiston.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/TileEntityPiston.patch b/nms-patches/TileEntityPiston.patch
index 5b4302d0..0616921b 100644
--- a/nms-patches/TileEntityPiston.patch
+++ b/nms-patches/TileEntityPiston.patch
@@ -7,4 +7,4 @@
+ if (this.world == null) return; // CraftBukkit
this.j = this.i;
if (this.j >= 1.0F) {
- this.i();
+ this.j();