Update GT_MetaTileEntity_Hatch_DataAccess.java
This commit is contained in:
parent
110e3905eb
commit
348c6b801c
1 changed files with 14 additions and 2 deletions
|
@ -67,12 +67,24 @@ public class GT_MetaTileEntity_Hatch_DataAccess extends GT_MetaTileEntity_Hatch
|
|||
|
||||
@Override
|
||||
public Object getServerGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||
return new GT_Container_4by4(aPlayerInventory, aBaseMetaTileEntity);
|
||||
switch (mTier) {
|
||||
case 4:
|
||||
return new GT_Container_2by2(aPlayerInventory, aBaseMetaTileEntity);
|
||||
default:
|
||||
return new GT_Container_4by4(aPlayerInventory, aBaseMetaTileEntity);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getClientGUI(int aID, InventoryPlayer aPlayerInventory, IGregTechTileEntity aBaseMetaTileEntity) {
|
||||
return new GT_GUIContainer_DataAccess(aPlayerInventory, aBaseMetaTileEntity, "Data Access Hatch");
|
||||
switch (mTier) {
|
||||
case 4:
|
||||
return new GT_GUIContainer_2by2(aPlayerInventory, aBaseMetaTileEntity, "Data Access Hatch", "DataAccess");
|
||||
case 6:
|
||||
return new GT_GUIContainer_4by4(aPlayerInventory, aBaseMetaTileEntity, "Data Access Hatch", "DataAccess");
|
||||
default:
|
||||
return new GT_GUIContainer_4by4(aPlayerInventory, aBaseMetaTileEntity, "Data Access Hatch", "DataAccess");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue