mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
Fixes ItemUtil bug, validity of move not checked
Capacitors will no longer fill up with non-chargeable items when next to a dimensional transceiver which is receiving items.
This commit is contained in:
1 parent
207bc57512
commit
a708ea2603
1 file changed
+3
@@ -105,6 +105,9 @@ public class ItemUtil {
|
||||
}
|
||||
}
|
||||
|
||||
if (!inv.isItemValidForSlot(slot, toInsert))
|
||||
inserted = 0;
|
||||
|
||||
if(inserted > 0) {
|
||||
numInserted += inserted;
|
||||
numToInsert -= inserted;
|
||||
|
||||
Reference in new issue
Block a user