Grindr, GUI, Container.

This commit is contained in:
Sebastian Hartte
2020-06-02 22:52:35 +02:00
parent cf9ab8a13b
commit 2de3a2ecee
65 changed files with 509 additions and 495 deletions
@@ -467,6 +467,14 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile,
this.disableDrops();
}
/**
* Checks if this tile entity is remote (we are running on the logical client side).
*/
protected boolean isRemote() {
World world = getWorld();
return world == null || world.isRemote();
}
public void disableDrops()
{
DROP_NO_ITEMS.set( new WeakReference<>( this ) );