mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 02:34:30 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue