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:
Liam committed 2014-05-02 01:51:06 -04:00
1 parent 207bc57512
commit a708ea2603
1 file changed
+3
+3
View File
@@ -105,6 +105,9 @@ public class ItemUtil {
}
}
if (!inv.isItemValidForSlot(slot, toInsert))
inserted = 0;
if(inserted > 0) {
numInserted += inserted;
numToInsert -= inserted;