mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Fix hopper suck in patch bug
was checking for ItemStack's instead of EntityItem
This commit is contained in:
parent
2570184ba1
commit
5c5c2b0a22
@ -81,7 +81,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
+ // Paper start
|
||||
+ int[] counts;
|
||||
+ if (ItemStack.class.isAssignableFrom(oclass)) {
|
||||
+ if (EntityItem.class.isAssignableFrom(oclass)) {
|
||||
+ counts = itemCounts;
|
||||
+ } else if (IInventory.class.isAssignableFrom(oclass)) {
|
||||
+ counts = inventoryEntityCounts;
|
||||
|
Loading…
Reference in New Issue
Block a user