Skip to content

Commit

Permalink
Don't mess with the undead. (Fixes robit dupe)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmuscaria committed May 2, 2021
1 parent 9e85652 commit 001dfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mekanism/common/entity/EntityRobit.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ private void collectItems()
{
for(EntityItem item : items)
{
if(item.delayBeforeCanPickup > 0 || item.getEntityItem().getItem() instanceof ItemRobit)
if(item.delayBeforeCanPickup > 0 || item.getEntityItem().getItem() instanceof ItemRobit || item.isDead)
{
continue;
}
Expand Down

0 comments on commit 001dfbf

Please sign in to comment.