Skip to content

Commit

Permalink
bmp: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
RockinChaos committed Nov 17, 2024
1 parent b073f20 commit f7b2dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/RockinChaos/itemjoin/utils/menus/Menu.java
Original file line number Diff line number Diff line change
Expand Up @@ -5259,14 +5259,14 @@ private static void triggerPane(final Player player, final ItemMap itemMap) {
itemMap.setGiveOnPermissionSwitch(!itemMap.isGiveOnPermissionSwitch());
triggerPane(player, itemMap);
}));
triggerPane.addButton(new Button(ItemHandler.getItem("COAL", 1, itemMap.isGiveOnRespawnWild() && !itemMap.isOnlyFirstWild() && !itemMap.isOnlyFirstLife(), false, "&e&l&nRespawn Wild", "&7", "&7*Gives the item when the", "&7player respawns from a death event.", "&7", "&c&nException:&7 The item will not be given if", "&7spawning in a &lBED&7, &lANCHOR&7, or &lSPAWN-POINT&7.", "&9&lENABLED: &a" +
triggerPane.addButton(new Button(ItemHandler.getItem("COAL", 1, itemMap.isGiveOnRespawnWild() && !itemMap.isOnlyFirstWild() && !itemMap.isOnlyFirstLife(), false, "&e&l&nRespawn Wild", "&7", "&7*Gives the item when the", "&7player respawns from a death event.", "&7", "&c&nException:&7 The item will &lNOT&7 be given if", "&7spawning in a &lBED&7, &lANCHOR&7, or &lSPAWN-POINT&7.", "&9&lENABLED: &a" +
((itemMap.isGiveOnRespawnWild() && !itemMap.isOnlyFirstWild() && !itemMap.isOnlyFirstLife()) + "").toUpperCase()), event -> {
itemMap.setGiveOnRespawnWild(!itemMap.isGiveOnRespawnWild());
itemMap.setGiveOnRespawn(false);
itemMap.setGiveOnRespawnPoint(false);
triggerPane(player, itemMap);
}));
triggerPane.addButton(new Button(ItemHandler.getItem((ServerUtils.hasSpecificUpdate("1_13") ? "RED_BED" : "355"), 1, itemMap.isGiveOnRespawnPoint() && !itemMap.isOnlyFirstWild() && !itemMap.isOnlyFirstLife(), false, "&e&l&nRespawn Wild", "&7", "&7*Gives the item when the", "&7player respawns from a death event.", "&7", "&c&nException:&7 The item will &lONLY&7 be given if", "&7spawning in a &lBED&7, &lANCHOR&7, or &lSPAWN-POINT&7.", "&9&lENABLED: &a" +
triggerPane.addButton(new Button(ItemHandler.getItem("TORCH", 1, itemMap.isGiveOnRespawnPoint() && !itemMap.isOnlyFirstWild() && !itemMap.isOnlyFirstLife(), false, "&e&l&nRespawn Point", "&7", "&7*Gives the item when the", "&7player respawns from a death event.", "&7", "&c&nException:&7 The item will &lONLY&7 be given if", "&7spawning in a &lBED&7, &lANCHOR&7, or &lSPAWN-POINT&7.", "&9&lENABLED: &a" +
((itemMap.isGiveOnRespawnPoint() && !itemMap.isOnlyFirstWild() && !itemMap.isOnlyFirstLife()) + "").toUpperCase()), event -> {
itemMap.setGiveOnRespawnPoint(!itemMap.isGiveOnRespawnPoint());
itemMap.setGiveOnRespawn(false);
Expand Down

0 comments on commit f7b2dde

Please sign in to comment.