3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00
Paper/nms-patches/TileEntityPiston.patch
Thinkofdeath 90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00

11 Zeilen
407 B
Diff

--- ../work/decompile-8eb82bde//net/minecraft/server/TileEntityPiston.java 2014-11-28 17:43:43.409707428 +0000
+++ src/main/java/net/minecraft/server/TileEntityPiston.java 2014-11-28 17:38:23.000000000 +0000
@@ -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);