mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Moved DBC Addon buttons from CNPC+ to addon
This commit is contained in:
1 parent
00de5b8a96
commit
cbdd5079d8
1 file changed
+2
-11
@@ -33,10 +33,7 @@ public class GuiNPCGlobalMainMenu extends GuiNPCInterface2{
|
||||
y = guiTop + 10;
|
||||
this.addButton(new GuiNpcButton(18, guiLeft + 210, y, "menu.animations"));
|
||||
this.addButton(new GuiNpcButton(17, guiLeft + 210, y += 22, "menu.tags"));
|
||||
if(Loader.isModLoaded("npcdbc")){
|
||||
this.addButton(new GuiNpcButton(200, guiLeft + 210, y + 154, 99, 20, "global.customforms"));
|
||||
this.addButton(new GuiNpcButton(201, guiLeft + 210 + 99 + 3, y + 154, 99, 20, "global.customauras"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -76,13 +73,7 @@ public class GuiNPCGlobalMainMenu extends GuiNPCInterface2{
|
||||
NoppesUtil.requestOpenGUI(EnumGuiType.ManageLinked);
|
||||
}
|
||||
|
||||
// DBC Addon
|
||||
if (id == 200) {
|
||||
NoppesUtil.requestOpenGUI(EnumGuiType.ManageCustomForms);
|
||||
}
|
||||
if (id == 201) {
|
||||
NoppesUtil.requestOpenGUI(EnumGuiType.ManageCustomAuras);
|
||||
}
|
||||
|
||||
}
|
||||
@Override
|
||||
public void save() {
|
||||
|
||||
Reference in new issue
Block a user