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

11 Zeilen
286 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/TileEntityPiston.java
+++ b/net/minecraft/server/TileEntityPiston.java
2016-02-29 22:32:46 +01:00
@@ -132,6 +132,7 @@
}
public void c() {
+ if (this.world == null) return; // CraftBukkit
this.j = this.i;
if (this.j >= 1.0F) {
2016-02-29 22:32:46 +01:00
this.i();