mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 11:10:04 +01:00
Renamed scoreboard type
This commit is contained in:
parent
53c1c68aa1
commit
06a99744e1
@ -9,7 +9,6 @@ import com.songoda.skyblock.playerdata.PlayerData;
|
|||||||
import com.songoda.skyblock.playerdata.PlayerDataManager;
|
import com.songoda.skyblock.playerdata.PlayerDataManager;
|
||||||
import com.songoda.skyblock.visit.Visit;
|
import com.songoda.skyblock.visit.Visit;
|
||||||
import io.netty.util.internal.ConcurrentSet;
|
import io.netty.util.internal.ConcurrentSet;
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@ -81,7 +80,7 @@ public class ScoreboardManager extends Manager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
type = ScoreboardType.NOISLAND;
|
type = ScoreboardType.NO_ISLAND;
|
||||||
}
|
}
|
||||||
|
|
||||||
setPlayerScoreboard(player, type);
|
setPlayerScoreboard(player, type);
|
||||||
|
@ -3,7 +3,7 @@ package com.songoda.skyblock.scoreboard;
|
|||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
enum ScoreboardType {
|
enum ScoreboardType {
|
||||||
NOISLAND("Scoreboards.NoIsland"),
|
NO_ISLAND("Scoreboards.NoIsland"),
|
||||||
ISLAND_SOLO_EMPTY("Scoreboards.Island.Solo.Empty"),
|
ISLAND_SOLO_EMPTY("Scoreboards.Island.Solo.Empty"),
|
||||||
ISLAND_SOLO_VISITORS("Scoreboards.Island.Solo.Occupied"),
|
ISLAND_SOLO_VISITORS("Scoreboards.Island.Solo.Occupied"),
|
||||||
ISLAND_TEAM_EMPTY("Scoreboards.Island.Team.Empty"),
|
ISLAND_TEAM_EMPTY("Scoreboards.Island.Team.Empty"),
|
||||||
|
Loading…
Reference in New Issue
Block a user