mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-19 13:02:12 +00:00
10 lines
287 B
Diff
10 lines
287 B
Diff
--- a/net/minecraft/server/TileEntityPiston.java
|
|
+++ b/net/minecraft/server/TileEntityPiston.java
|
|
@@ -133,6 +133,7 @@
|
|
}
|
|
|
|
public void E_() {
|
|
+ if (this.world == null) return; // CraftBukkit
|
|
this.j = this.i;
|
|
if (this.j >= 1.0F) {
|
|
this.j();
|