aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech
diff options
context:
space:
mode:
authorAntifluxfield <lyj_299792458@163.com>2017-06-30 06:11:42 +0800
committerGitHub <noreply@github.com>2017-06-30 06:11:42 +0800
commitcf9d88874550c61ee347c67e674535162beefead (patch)
treeefd8145a64d1e4b20adbb3ba2b1cc69c5e85932f /src/main/java/gregtech
parent44ad1bcb96f3af27857ffdd2d7fdee3a1270081a (diff)
downloadGT5-Unofficial-cf9d88874550c61ee347c67e674535162beefead.tar.gz
GT5-Unofficial-cf9d88874550c61ee347c67e674535162beefead.tar.bz2
GT5-Unofficial-cf9d88874550c61ee347c67e674535162beefead.zip
Update GT_GUIContainer_1by1.java
Diffstat (limited to 'src/main/java/gregtech')
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java
index 29cc403c71..b33efa52a0 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_1by1.java
@@ -13,6 +13,11 @@ public class GT_GUIContainer_1by1 extends GT_GUIContainerMetaTile_Machine {
super(new GT_Container_1by1(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "1by1.png");
mName = aName;
}
+
+ public GT_GUIContainer_1by1(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_1by1(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "1by1.png");
+ mName = aName;
+ }
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {