Fixed Sigil of Magnetism and Call of the Zephyr picking up "dead" items.

This commit is contained in:
WayofTime 2016-05-28 07:19:43 -04:00
parent 3ac00ce4d6
commit 5e0a390f48
2 changed files with 6 additions and 2 deletions

View file

@ -58,6 +58,11 @@ public class RitualZephyr extends Ritual
{
for (EntityItem entityItem : itemList)
{
if (entityItem.isDead)
{
continue;
}
ItemStack copyStack = entityItem.getEntityItem().copy();
int originalAmount = copyStack.stackSize;
ItemStack newStack = Utils.insertStackIntoInventory(copyStack, (IInventory) tileInventory, EnumFacing.DOWN);