mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
10 lines
407 B
Diff
10 lines
407 B
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/TileEntityPiston.java 2014-11-28 11:22:56.226823157 +0000
|
|
+++ src/main/java/net/minecraft/server/TileEntityPiston.java 2014-11-28 11:01:54.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);
|