mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-22 18:46:27 +01:00
Fix hoppers once and for all [1.16.1]
I'd clean up the patch, but in order to be fast im editing it manually 👀
This commit is contained in:
parent
46e3206fbe
commit
dbc83d9ec0
@ -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 Entity)) {
|
||||
+ if (tmp != null) {
|
||||
+ this.cachedPush = tmp;
|
||||
+ } else {
|
||||
+ if(tmp == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user