1.0.0-SNAPSHOT-U80

+ Tested and working Weapons Editor
This commit is contained in:
Charles 2018-11-24 13:47:34 +08:00
parent 9cc5b92a56
commit 38a4f7d8af
4 changed files with 4 additions and 3 deletions

View File

@ -78,6 +78,7 @@ public class MainBossEditPanel extends VariablePanelHandler<BossEntity> {
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);
}

View File

@ -29,7 +29,7 @@ public class MainHandEditorPanel extends ItemStackSubListPanelHandler {
@Override
public ISubVariablePanelHandler<BossEntity, EntityStatsElement> getParentHolder() {
return this.bossPanelManager.getEquipmentEditMenu();
return this.bossPanelManager.getWeaponEditMenu();
}
@Override

View File

@ -29,7 +29,7 @@ public class OffHandEditorPanel extends ItemStackSubListPanelHandler {
@Override
public ISubVariablePanelHandler<BossEntity, EntityStatsElement> getParentHolder() {
return this.bossPanelManager.getEquipmentEditMenu();
return this.bossPanelManager.getWeaponEditMenu();
}
@Override

View File

@ -19,7 +19,7 @@
</modules>
<properties>
<plugin.version>maven-version-number-SNAPSHOT-U79</plugin.version>
<plugin.version>maven-version-number-SNAPSHOT-U80</plugin.version>
<plugin.name>EpicBosses</plugin.name>
<plugin.main>com.songoda.epicbosses.CustomBosses</plugin.main>
<plugin.author>AMinecraftDev</plugin.author>