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:
Ivan Pekov 2020-08-17 16:26:32 +03:00 committed by GitHub
parent 46e3206fbe
commit dbc83d9ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {