mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +01:00
11 lines
286 B
Diff
11 lines
286 B
Diff
--- a/net/minecraft/server/TileEntityPiston.java
|
|
+++ b/net/minecraft/server/TileEntityPiston.java
|
|
@@ -132,6 +132,7 @@
|
|
}
|
|
|
|
public void c() {
|
|
+ if (this.world == null) return; // CraftBukkit
|
|
this.j = this.i;
|
|
if (this.j >= 1.0F) {
|
|
this.j();
|