mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Fixed Hopperhocks not checking for dead entities. Fixes #39.
This commit is contained in:
1 parent
825dff364b
commit
c1f071ace5
1 file changed
+1
-1
@@ -59,7 +59,7 @@ public class SubTileHopperhock extends SubTileFunctional {
|
||||
|
||||
List<EntityItem> items = supertile.getWorldObj().getEntitiesWithinAABB(EntityItem.class, AxisAlignedBB.getBoundingBox(x - range, y - 3, z - range, x + range + 1, y + 3, z + range + 1));
|
||||
for(EntityItem item : items) {
|
||||
if(item.age < 60)
|
||||
if(item.age < 60 || item.isDead)
|
||||
continue;
|
||||
|
||||
ItemStack stack = item.getEntityItem();
|
||||
|
||||
Reference in new issue
Block a user