mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
24557bc2b3
For more information please see http://www.spigotmc.org/
10 lines
406 B
Diff
10 lines
406 B
Diff
--- ../work/decompile-bb26c12b/net/minecraft/server/TileEntityPiston.java 2014-11-27 08:59:46.917420896 +1100
|
|
+++ src/main/java/net/minecraft/server/TileEntityPiston.java 2014-11-27 08:42:10.152850911 +1100
|
|
@@ -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);
|