summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/net/minecraft/server/TileEntityHopper.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/TileEntityHopper.java b/src/main/java/net/minecraft/server/TileEntityHopper.java
index f6d269d6..faeafef5 100644
--- a/src/main/java/net/minecraft/server/TileEntityHopper.java
+++ b/src/main/java/net/minecraft/server/TileEntityHopper.java
@@ -180,8 +180,11 @@ public class TileEntityHopper extends TileEntity implements IHopper {
if (!this.l() && BlockHopper.d(this.p())) {
boolean flag = this.u() | suckInItems(this);
+ // CraftBukkit start - Move delay out of if block
+ this.c(8);
+
if (flag) {
- this.c(8);
+ // CraftBukkit end
this.update();
return true;
}