forked from xjboss/KCauldronX
Initial commit (Forge 1291).
This commit is contained in:
14
patches/net/minecraft/tileentity/TileEntityPiston.java.patch
Normal file
14
patches/net/minecraft/tileentity/TileEntityPiston.java.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- ../src-base/minecraft/net/minecraft/tileentity/TileEntityPiston.java
|
||||
+++ ../src-work/minecraft/net/minecraft/tileentity/TileEntityPiston.java
|
||||
@@ -140,6 +140,11 @@
|
||||
|
||||
public void updateEntity()
|
||||
{
|
||||
+ if (this.worldObj == null)
|
||||
+ {
|
||||
+ return; // CraftBukkit
|
||||
+ }
|
||||
+
|
||||
this.lastProgress = this.progress;
|
||||
|
||||
if (this.lastProgress >= 1.0F)
|
Reference in New Issue
Block a user