mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
uhhhhhhh oops
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user