mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 19:05:16 +00:00
Fix placeholders being overwritten by crafty crate. Closes #2858
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user