mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
11 lines
287 B
Diff
11 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();
|