diff --git a/src/main/java/noppes/npcs/client/gui/util/GuiContainerNPCInterface2.java b/src/main/java/noppes/npcs/client/gui/util/GuiContainerNPCInterface2.java index ec7b28cf8..b405d9cc5 100644 --- a/src/main/java/noppes/npcs/client/gui/util/GuiContainerNPCInterface2.java +++ b/src/main/java/noppes/npcs/client/gui/util/GuiContainerNPCInterface2.java @@ -24,7 +24,9 @@ public abstract class GuiContainerNPCInterface2 extends GuiContainerNPCInterface { private ResourceLocation background = new ResourceLocation("customnpcs","textures/gui/menubg.png"); private final ResourceLocation defaultBackground = new ResourceLocation("customnpcs","textures/gui/menubg.png"); - private GuiNpcMenu menu; + private final ResourceLocation defaultBackground2 = new ResourceLocation("customnpcs","textures/gui/menubg2.png"); + + private GuiNpcMenu menu; public int menuYOffset = 0; public GuiContainerNPCInterface2(EntityNPCInterface npc,Container cont) @@ -74,8 +76,8 @@ public abstract class GuiContainerNPCInterface2 extends GuiContainerNPCInterface mc.renderEngine.bindTexture(background); drawTexturedModalRect(guiLeft, guiTop, 0, 0, 256, 256); GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F); - mc.renderEngine.bindTexture(defaultBackground); - drawTexturedModalRect(guiLeft + xSize-200, guiTop, 26, 0, 200, 220); + mc.renderEngine.bindTexture(defaultBackground2); + drawTexturedModalRect(guiLeft + xSize-256, guiTop, 0, 0, 256, 220); menu.drawElements(fontRendererObj, i, j, mc, f); diff --git a/src/main/resources/assets/customnpcs/textures/gui/menubg2.png b/src/main/resources/assets/customnpcs/textures/gui/menubg2.png new file mode 100644 index 000000000..135a154bf Binary files /dev/null and b/src/main/resources/assets/customnpcs/textures/gui/menubg2.png differ