aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntifluxfield <lyj_299792458@163.com>2017-06-30 06:09:28 +0800
committerGitHub <noreply@github.com>2017-06-30 06:09:28 +0800
commit94bf4937d8600ee15d509fa43432c22d87a0149f (patch)
treece127257e9a0ad681e93d05cb269891eaa0fd07a /src
parenta2bd69d2dabd096b17c863d8695f4d1bb38816ae (diff)
downloadGT5-Unofficial-94bf4937d8600ee15d509fa43432c22d87a0149f.tar.gz
GT5-Unofficial-94bf4937d8600ee15d509fa43432c22d87a0149f.tar.bz2
GT5-Unofficial-94bf4937d8600ee15d509fa43432c22d87a0149f.zip
Update GT_GUIContainer_4by4.java
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java b/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
index dd536f41a7..710411cb08 100644
--- a/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
+++ b/src/main/java/gregtech/api/gui/GT_GUIContainer_4by4.java
@@ -13,6 +13,11 @@ public class GT_GUIContainer_4by4 extends GT_GUIContainerMetaTile_Machine {
super(new GT_Container_4by4(aInventoryPlayer, aTileEntity), RES_PATH_GUI + "4by4.png");
mName = aName;
}
+
+ public GT_GUIContainer_4by4(InventoryPlayer aInventoryPlayer, IGregTechTileEntity aTileEntity, String aName, String aBackground) {
+ super(new GT_Container_4by4(aInventoryPlayer, aTileEntity), RES_PATH_GUI + aBackground + "4by4.png");
+ mName = aName;
+ }
@Override
protected void drawGuiContainerForegroundLayer(int par1, int par2) {