Same fix for isUseableByPlayer

This commit is contained in:
Virtuoel 2015-05-25 14:44:36 -04:00
parent e9cc81b978
commit 6960a802d9
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class TileEntityAugmentationTable extends TileEntityEE implements IInvent
@Override
public boolean isUseableByPlayer(EntityPlayer entityplayer)
{
return true;
return this.worldObj.getTileEntity(xCoord, yCoord, zCoord) == this && entityplayer.getDistanceSq((double) xCoord + 0.5D, (double) yCoord + 0.5D, (double) zCoord + 0.5D) <= 64D;
}
@Override