From 06a99744e1de05424e27e179b7ffd527f82517b0 Mon Sep 17 00:00:00 2001 From: Fabrizio La Rosa Date: Mon, 3 Aug 2020 23:57:00 +0200 Subject: [PATCH] Renamed scoreboard type --- .../com/songoda/skyblock/scoreboard/ScoreboardManager.java | 3 +-- .../java/com/songoda/skyblock/scoreboard/ScoreboardType.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardManager.java b/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardManager.java index 9cd6f372..85dead1d 100644 --- a/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardManager.java +++ b/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardManager.java @@ -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); diff --git a/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardType.java b/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardType.java index 5848ff7d..4a438da5 100644 --- a/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardType.java +++ b/src/main/java/com/songoda/skyblock/scoreboard/ScoreboardType.java @@ -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"),