diff --git a/patches/server/0021-Optimize-Hopper-logic.patch b/patches/server/0021-Optimize-Hopper-logic.patch index 22aaae80..6bc6418e 100644 --- a/patches/server/0021-Optimize-Hopper-logic.patch +++ b/patches/server/0021-Optimize-Hopper-logic.patch @@ -60,7 +60,7 @@ index 3ff61141aede4b5a09bf83153222de0d14db5ad0..e386ffda975b8a0adc218fd47a02e5b3 - return b(this.getWorld(), this.position.shift(enumdirection)); + IInventory tmp = b(this.getWorld(), this.position.shift(enumdirection), this.cachedPushAir); + // Yatopia start -+ if (tmp != null && !(tmp instanceof IWorldInventory) && !(tmp instanceof Entity)) { ++ if (tmp != null && !(tmp instanceof Entity)) { + this.cachedPush = tmp; + } else { + if(tmp == null) {