3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Paper/nms-patches/TileEntityPiston.patch
2015-05-25 20:37:24 +10:00

11 Zeilen
297 B
Diff

--- a/net/minecraft/server/TileEntityPiston.java
+++ b/net/minecraft/server/TileEntityPiston.java
@@ -104,6 +104,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);