Fixed issue
* Fixed issue
Wood Rail Dropper was only allowing the first slot of Minecart With Hopper to be emptied.
* Added braces and removed comment
@@ -29,6 +29,9 @@ public class BlockWoodRailDropper extends BlockWoodRail {
assert itemHandlerCart != null;
for(int i = 0; i < itemHandlerCart.getSlots(); i++) {
ItemStack itemStack = itemHandlerCart.extractItem(i, 1, true);
+ if(itemStack.isEmpty()) {
+ continue;
+ }
if(ItemHandlerHelper.insertItem(itemHandlerTE, itemStack, true).isEmpty()) {
itemStack = itemHandlerCart.extractItem(i, 1, false);
ItemHandlerHelper.insertItem(itemHandlerTE, itemStack, false);
