Changing getAABBPool().getAABB( -> getBoundingBox(

This commit is contained in:
Alexander Behrhof committed 2014-06-08 14:37:02 -04:00
1 parent d9cf30f767
commit 1278298d7c
17 files changed
+35 -29

No files matched your search

@@ -252,7 +252,7 @@ public class Scythe extends Weapon
@Override
public boolean onLeftClickEntity (ItemStack stack, EntityPlayer player, Entity entity)
{
AxisAlignedBB box = AxisAlignedBB.getAABBPool().getAABB(entity.posX, entity.posY, entity.posZ, entity.posX + 1.0D, entity.posY + 1.0D, entity.posZ + 1.0D).expand(1.0D, 1.0D, 1.0D);
AxisAlignedBB box = AxisAlignedBB.getBoundingBox(entity.posX, entity.posY, entity.posZ, entity.posX + 1.0D, entity.posY + 1.0D, entity.posZ + 1.0D).expand(1.0D, 1.0D, 1.0D);
List list = player.worldObj.getEntitiesWithinAABBExcludingEntity(player, box);
for (Object o : list)
{