mirror of
https://github.com/songoda/EpicBosses.git
synced 2024-12-24 08:57:42 +01:00
1.0.0-SNAPSHOT-U80
+ Tested and working Weapons Editor
This commit is contained in:
parent
9cc5b92a56
commit
38a4f7d8af
@ -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("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("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("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);
|
panel.openFor(player);
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ public class MainHandEditorPanel extends ItemStackSubListPanelHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ISubVariablePanelHandler<BossEntity, EntityStatsElement> getParentHolder() {
|
public ISubVariablePanelHandler<BossEntity, EntityStatsElement> getParentHolder() {
|
||||||
return this.bossPanelManager.getEquipmentEditMenu();
|
return this.bossPanelManager.getWeaponEditMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -29,7 +29,7 @@ public class OffHandEditorPanel extends ItemStackSubListPanelHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ISubVariablePanelHandler<BossEntity, EntityStatsElement> getParentHolder() {
|
public ISubVariablePanelHandler<BossEntity, EntityStatsElement> getParentHolder() {
|
||||||
return this.bossPanelManager.getEquipmentEditMenu();
|
return this.bossPanelManager.getWeaponEditMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
2
pom.xml
2
pom.xml
@ -19,7 +19,7 @@
|
|||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<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.name>EpicBosses</plugin.name>
|
||||||
<plugin.main>com.songoda.epicbosses.CustomBosses</plugin.main>
|
<plugin.main>com.songoda.epicbosses.CustomBosses</plugin.main>
|
||||||
<plugin.author>AMinecraftDev</plugin.author>
|
<plugin.author>AMinecraftDev</plugin.author>
|
||||||
|
Loading…
Reference in New Issue
Block a user