Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Coccocoahelper authored Aug 27, 2024
1 parent 43cbc03 commit 80f3d4d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/me/lrxh/practice/setting/SettingsMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public ItemStack getButtonItem(Player player) {
lore.add(" ");
switch (this.settings) {
case SHOW_SCOREBOARD: {
if (profile.getOptions.showScoreboard()) {
if (profile.getOptions().showScoreboard()) {
for (String line : Practice.getInstance().getMenusConfig().getStringList("SETTINGS.SHOW_SCOREBOARD.ENABLED.LORE")) {
lore.add(line);
}
Expand All @@ -85,7 +85,7 @@ public ItemStack getButtonItem(Player player) {
break;
}
case MENU_SOUNDS: {
if (profile.getOptions.menuSounds()) {
if (profile.getOptions().menuSounds()) {
for (String line : Practice.getInstance().getMenusConfig().getStringList("SETTINGS.MENU_SOUNDS.ENABLED.LORE")) {
lore.add(line);
}
Expand All @@ -112,7 +112,7 @@ public ItemStack getButtonItem(Player player) {
break;
}
case ALLOW_DUELS: {
if (profile.getOptions.allowDuels()) {
if (profile.getOptions().allowDuels()) {
for (String line : Practice.getInstance().getMenusConfig().getStringList("SETTINGS.ALLOW_DUELS.ENABLED.LORE")) {
lore.add(line);
}
Expand All @@ -124,7 +124,7 @@ public ItemStack getButtonItem(Player player) {
break;
}
case ALLOW_SPECTATORS: {
if (profile.getOptions.allowSpectators()) {
if (profile.getOptions().allowSpectators()) {
for (String line : Practice.getInstance().getMenusConfig().getStringList("SETTINGS.ALLOW_SPECTATORS.ENABLED.LORE")) {
lore.add(line);
}
Expand All @@ -136,7 +136,7 @@ public ItemStack getButtonItem(Player player) {
break;
}
case SHOW_PLAYERS: {
if (profile.getOptions.showPlayers()) {
if (profile.getOptions().showPlayers()) {
for (String line : Practice.getInstance().getMenusConfig().getStringList("SETTINGS.SHOW_PLAYERS.ENABLED.LORE")) {
lore.add(line);
}
Expand Down

0 comments on commit 80f3d4d

Please sign in to comment.