Renamed scoreboard type

This commit is contained in:
Fabrizio La Rosa 2020-08-03 23:57:00 +02:00
parent 53c1c68aa1
commit 06a99744e1
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,6 @@ import com.songoda.skyblock.playerdata.PlayerData;
import com.songoda.skyblock.playerdata.PlayerDataManager;
import com.songoda.skyblock.visit.Visit;
import io.netty.util.internal.ConcurrentSet;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
@ -81,7 +80,7 @@ public class ScoreboardManager extends Manager {
}
}
} else {
type = ScoreboardType.NOISLAND;
type = ScoreboardType.NO_ISLAND;
}
setPlayerScoreboard(player, type);

View File

@ -3,7 +3,7 @@ package com.songoda.skyblock.scoreboard;
import javax.annotation.Nonnull;
enum ScoreboardType {
NOISLAND("Scoreboards.NoIsland"),
NO_ISLAND("Scoreboards.NoIsland"),
ISLAND_SOLO_EMPTY("Scoreboards.Island.Solo.Empty"),
ISLAND_SOLO_VISITORS("Scoreboards.Island.Solo.Occupied"),
ISLAND_TEAM_EMPTY("Scoreboards.Island.Team.Empty"),