mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 21:09:40 +00:00
Remove Packet Dependencies from CNPC+
This commit is contained in:
1 parent
e8630eb1fc
commit
94fef1461e
11 files changed
+14
-36
No files matched your search
@@ -33,8 +33,10 @@ 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 += 22, "global.customforms"));
|
||||
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
|
||||
@@ -78,6 +80,9 @@ public class GuiNPCGlobalMainMenu extends GuiNPCInterface2{
|
||||
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