13
0
geforkt von Mirrors/Paper

Fix hopper suck in patch bug

was checking for ItemStack's instead of EntityItem
Dieser Commit ist enthalten in:
Aikar 2016-05-05 20:22:01 -04:00
Ursprung 2570184ba1
Commit 5c5c2b0a22

Datei anzeigen

@ -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;