mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-24 16:31:38 +01:00
Removed wrong scoreboard update
This commit is contained in:
parent
1938545a9c
commit
ab85621f67
@ -532,7 +532,6 @@ public class IslandManager {
|
||||
}
|
||||
|
||||
public synchronized boolean deleteIsland(Island island, boolean force) {
|
||||
ScoreboardManager scoreboardManager = plugin.getScoreboardManager();
|
||||
PlayerDataManager playerDataManager = plugin.getPlayerDataManager();
|
||||
CooldownManager cooldownManager = plugin.getCooldownManager();
|
||||
FileManager fileManager = plugin.getFileManager();
|
||||
@ -585,10 +584,6 @@ public class IslandManager {
|
||||
playerData.setChat(false);
|
||||
playerData.save();
|
||||
|
||||
if (scoreboardManager != null) {
|
||||
scoreboardManager.updatePlayerScoreboardType(player);
|
||||
}
|
||||
|
||||
if (isPlayerAtIsland(island, player)) {
|
||||
LocationUtil.teleportPlayerToSpawn(player);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user