aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
diff options
context:
space:
mode:
authorAntifluxfield <lyj_299792458@163.com>2017-06-30 06:11:18 +0800
committerGitHub <noreply@github.com>2017-06-30 06:11:18 +0800
commit44ad1bcb96f3af27857ffdd2d7fdee3a1270081a (patch)
tree1e6572facd85121f83d4c7cca1b038888d575e58 /src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
parent08d45ae407d8dbadae53cf1669efdab2b80509a4 (diff)
downloadGT5-Unofficial-44ad1bcb96f3af27857ffdd2d7fdee3a1270081a.tar.gz
GT5-Unofficial-44ad1bcb96f3af27857ffdd2d7fdee3a1270081a.tar.bz2
GT5-Unofficial-44ad1bcb96f3af27857ffdd2d7fdee3a1270081a.zip
Update GT_GUIContainer_2by2.java
Diffstat (limited to 'src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java')
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
index 50653132ce..57c13f6b55 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_2by2.java
@@ -13,6 +13,11 @@ public class GT_GUIContainer_2by2 extends GT_GUIContainerMetaTile_Machine {
super(new GT_Container_2by2(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "2by2.png");
mName = aName;
}
+
+ public GT_GUIContainer_2by2(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_2by2(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "2by2.png");
+ mName = aName;
+ }
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {