Convenience getTile for basecontainer

This commit is contained in:
Bernhard Bonigl committed 2015-12-21 17:06:58 +01:00
1 parent ed8c5b9656
commit 38caa161be
1 file changed
+4
@@ -59,6 +59,10 @@ public abstract class BaseContainer<T extends TileEntity> extends Container {
syncNewContainer(playerOpened);
}
public T getTile() {
return tile;
}
/**
* Called when the container is opened and another player already has a container for this tile open
* Sync to the same state here.