File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/hellfirepvp/modularmachinery/client/gui Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 99package hellfirepvp .modularmachinery .client .gui ;
1010
1111import hellfirepvp .modularmachinery .ModularMachinery ;
12+ import hellfirepvp .modularmachinery .common .container .ContainerBase ;
1213import net .minecraft .client .gui .inventory .GuiContainer ;
1314import net .minecraft .inventory .Container ;
1415import net .minecraft .util .ResourceLocation ;
@@ -25,6 +26,11 @@ public abstract class GuiContainerBase<T extends Container> extends GuiContainer
2526 public static final ResourceLocation TEXTURES_EMPTY_GUI = new ResourceLocation (ModularMachinery .MODID , "textures/gui/guismartinterface.png" );
2627 protected final T container ;
2728
29+ public GuiContainerBase (ContainerBase <?> container ) {
30+ super (container );
31+ this .container = (T ) container ;
32+ }
33+
2834 public GuiContainerBase (T container ) {
2935 super (container );
3036 this .container = container ;
You can’t perform that action at this time.
0 commit comments