forked from SteamWar/SteamWar
Fixes
This commit is contained in:
@@ -23,21 +23,9 @@ import de.steamwar.core.Core;
|
||||
import de.steamwar.core.VersionDependent;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class SWScoreboard {
|
||||
private SWScoreboard() {}
|
||||
public interface SWScoreboard {
|
||||
public static final SWScoreboard impl = VersionDependent.getVersionImpl(Core.getInstance());
|
||||
|
||||
private static final ISWScoreboard impl = VersionDependent.getVersionImpl(Core.getInstance());
|
||||
|
||||
public static boolean createScoreboard(Player player, ScoreboardCallback callback) {
|
||||
return impl.createScoreboard(player, callback);
|
||||
}
|
||||
|
||||
public static void removeScoreboard(Player player) {
|
||||
impl.removeScoreboard(player);
|
||||
}
|
||||
|
||||
public interface ISWScoreboard {
|
||||
boolean createScoreboard(Player player, ScoreboardCallback callback);
|
||||
void removeScoreboard(Player player);
|
||||
}
|
||||
boolean createScoreboard(Player player, ScoreboardCallback callback);
|
||||
void removeScoreboard(Player player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user