uhhhhhhh oops

This commit is contained in:
Vincent Lee committed 2019-04-01 17:08:04 -05:00
1 parent 49d52b4a85
commit 2a27264b22
1 file changed
+5 -2
@@ -145,8 +145,11 @@ public class TileCraftCrate extends TileOpenCrate {
List<ItemStack> remainders = recipe.getRemainingItems(craft);
for(int i = 0; i < craft.getSizeInventory(); i++) {
ItemStack s = remainders.get(i);
if(!s.isEmpty())
itemHandler.setStackInSlot(i, s);
if(!itemHandler.getStackInSlot(i).isEmpty()
&& itemHandler.getStackInSlot(i).getItem() == ModItems.manaResource
&& itemHandler.getStackInSlot(i).getItemDamage() == 11)
continue;
itemHandler.setStackInSlot(i, s);
}
return true;
}