mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:00:02 +03:00
11 lines
346 B
Diff
11 lines
346 B
Diff
--- ../src-base/minecraft/net/minecraft/tileentity/TileEntityPiston.java
|
|
+++ ../src-work/minecraft/net/minecraft/tileentity/TileEntityPiston.java
|
|
@@ -211,6 +211,7 @@
|
|
|
|
public void update()
|
|
{
|
|
+ if (this.worldObj == null) return; // CraftBukkit
|
|
this.lastProgress = this.progress;
|
|
|
|
if (this.lastProgress >= 1.0F)
|