potential missed AxisAlignedBB.expand->grow

This commit is contained in:
Xander committed 2017-10-04 21:47:24 +08:00
1 parent 3fc741ee19
commit 03016ddd62
1 file changed
+1 -1
@@ -287,7 +287,7 @@ public class EntityRobit extends EntityCreature implements IInventory, ISustaine
private void collectItems()
{
List<EntityItem> items = world.getEntitiesWithinAABB(EntityItem.class, getEntityBoundingBox().expand(1.5, 1.5, 1.5));
List<EntityItem> items = world.getEntitiesWithinAABB(EntityItem.class, getEntityBoundingBox().grow(1.5, 1.5, 1.5));
if(items != null && !items.isEmpty())
{