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.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/TileEntityPiston.patch b/nms-patches/TileEntityPiston.patch
index 6e1f13a7..5b4302d0 100644
--- a/nms-patches/TileEntityPiston.patch
+++ b/nms-patches/TileEntityPiston.patch
@@ -1,10 +1,10 @@
--- a/net/minecraft/server/TileEntityPiston.java
+++ b/net/minecraft/server/TileEntityPiston.java
-@@ -104,6 +104,7 @@
+@@ -132,6 +132,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);
+ this.i();