From 38a4f7d8afe79ea8680779a984546a8b083c76e4 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 24 Nov 2018 13:47:34 +0800 Subject: [PATCH] 1.0.0-SNAPSHOT-U80 + Tested and working Weapons Editor --- .../com/songoda/epicbosses/panel/bosses/MainBossEditPanel.java | 1 + .../epicbosses/panel/bosses/weapons/MainHandEditorPanel.java | 2 +- .../epicbosses/panel/bosses/weapons/OffHandEditorPanel.java | 2 +- pom.xml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/MainBossEditPanel.java b/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/MainBossEditPanel.java index bc63239..443bf8c 100644 --- a/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/MainBossEditPanel.java +++ b/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/MainBossEditPanel.java @@ -78,6 +78,7 @@ public class MainBossEditPanel extends VariablePanelHandler { counter.getSlotsWith("Drops").forEach(slot -> panel.setOnClick(slot, e -> this.bossPanelManager.getDropsEditMenu().openFor((Player) e.getWhoClicked(), bossEntity))); counter.getSlotsWith("Targeting").forEach(slot -> panel.setOnClick(slot, e -> this.bossPanelManager.getTargetingEditMenu().openFor((Player) e.getWhoClicked(), bossEntity))); counter.getSlotsWith("Equipment").forEach(slot -> panel.setOnClick(slot, e -> this.bossPanelManager.getEquipmentListEditMenu().openFor((Player) e.getWhoClicked(), bossEntity))); + counter.getSlotsWith("Weapon").forEach(slot -> panel.setOnClick(slot, e -> this.bossPanelManager.getWeaponListEditMenu().openFor((Player) e.getWhoClicked(), bossEntity))); panel.openFor(player); } diff --git a/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/MainHandEditorPanel.java b/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/MainHandEditorPanel.java index bec2122..06b709e 100644 --- a/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/MainHandEditorPanel.java +++ b/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/MainHandEditorPanel.java @@ -29,7 +29,7 @@ public class MainHandEditorPanel extends ItemStackSubListPanelHandler { @Override public ISubVariablePanelHandler getParentHolder() { - return this.bossPanelManager.getEquipmentEditMenu(); + return this.bossPanelManager.getWeaponEditMenu(); } @Override diff --git a/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/OffHandEditorPanel.java b/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/OffHandEditorPanel.java index 6d22ca4..fd57fd1 100644 --- a/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/OffHandEditorPanel.java +++ b/plugin-modules/Core/src/com/songoda/epicbosses/panel/bosses/weapons/OffHandEditorPanel.java @@ -29,7 +29,7 @@ public class OffHandEditorPanel extends ItemStackSubListPanelHandler { @Override public ISubVariablePanelHandler getParentHolder() { - return this.bossPanelManager.getEquipmentEditMenu(); + return this.bossPanelManager.getWeaponEditMenu(); } @Override diff --git a/pom.xml b/pom.xml index 5bf7b96..6ff4a86 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ - maven-version-number-SNAPSHOT-U79 + maven-version-number-SNAPSHOT-U80 EpicBosses com.songoda.epicbosses.CustomBosses AMinecraftDev