Update TileEntityIronChest.java
AxisAlignedBB.getAABBPool().getAABB is deprecated
This commit is contained in:
parent
5937354da2
commit
f05b509f1e
|
@ -279,7 +279,7 @@ public class TileEntityIronChest extends TileEntity implements IInventory {
|
||||||
this.numUsingPlayers = 0;
|
this.numUsingPlayers = 0;
|
||||||
float var1 = 5.0F;
|
float var1 = 5.0F;
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
List<EntityPlayer> var2 = this.worldObj.getEntitiesWithinAABB(EntityPlayer.class, AxisAlignedBB.getAABBPool().getAABB((double)((float)this.xCoord - var1), (double)((float)this.yCoord - var1), (double)((float)this.zCoord - var1), (double)((float)(this.xCoord + 1) + var1), (double)((float)(this.yCoord + 1) + var1), (double)((float)(this.zCoord + 1) + var1)));
|
List<EntityPlayer> var2 = this.worldObj.getEntitiesWithinAABB(EntityPlayer.class, AxisAlignedBB.getBoundingBox((double)((float)this.xCoord - var1), (double)((float)this.yCoord - var1), (double)((float)this.zCoord - var1), (double)((float)(this.xCoord + 1) + var1), (double)((float)(this.yCoord + 1) + var1), (double)((float)(this.zCoord + 1) + var1)));
|
||||||
Iterator<EntityPlayer> var3 = var2.iterator();
|
Iterator<EntityPlayer> var3 = var2.iterator();
|
||||||
|
|
||||||
while (var3.hasNext())
|
while (var3.hasNext())
|
||||||
|
|
Loading…
Reference in New Issue