mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 18:46:27 +01:00
Fix bork hoppers [1.16.1]
This commit is contained in:
parent
e3ff8b42c3
commit
46e3206fbe
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user