Fixed Sigil of Magnetism and Call of the Zephyr picking up "dead" items.
This commit is contained in:
parent
3ac00ce4d6
commit
5e0a390f48
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue