Fix placeholders being overwritten by crafty crate. Closes #2858

This commit is contained in:
Vincent Lee committed 2019-02-20 23:15:15 -06:00
1 parent ffbdb87749
commit 404f18604b
1 file changed
+3 -1
@@ -144,7 +144,9 @@ public class TileCraftCrate extends TileOpenCrate {
List<ItemStack> remainders = recipe.getRemainingItems(craft);
for(int i = 0; i < craft.getSizeInventory(); i++) {
itemHandler.setStackInSlot(i, remainders.get(i));
ItemStack s = remainders.get(i);
if(!s.isEmpty())
itemHandler.setStackInSlot(i, s);
}
return true;
}