Containers can now be accessed anywhere
This commit is contained in:
parent
52ceee1259
commit
29749ca510
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ public abstract class TileEntityContainerBlock extends TileEntityBasicBlock impl
|
||||||
@Override
|
@Override
|
||||||
public boolean isUseableByPlayer(EntityPlayer entityplayer)
|
public boolean isUseableByPlayer(EntityPlayer entityplayer)
|
||||||
{
|
{
|
||||||
return worldObj.getBlockTileEntity(xCoord, yCoord, zCoord) != this ? false : entityplayer.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64.0D;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue