mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-18 11:19:20 +00:00
Convenience getTile for basecontainer
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user