Remove the old Vault group management system. (THIS COMMIT BREAKS THE COMPILATION)

This commit is contained in:
Gabriele C
2015-11-21 20:16:07 +01:00
parent 579b7e7b97
commit 579c51f4a2
6 changed files with 7 additions and 42 deletions
@@ -24,6 +24,7 @@ public class ForceLoginCommand extends ExecutableCommand {
// Command logic
try {
@SuppressWarnings("deprecation")
Player player = Bukkit.getPlayer(playerName);
if (player == null || !player.isOnline()) {
sender.sendMessage("Player needs to be online!");
@@ -22,6 +22,7 @@ public class GetIpCommand extends ExecutableCommand {
if(commandArguments.getCount() >= 1)
playerName = commandArguments.get(0);
@SuppressWarnings("deprecation")
Player player = Bukkit.getPlayer(playerName);
if (player == null) {
sender.sendMessage("This player is not actually online");
@@ -6,7 +6,6 @@ import org.bukkit.entity.Player;
import fr.xephi.authme.AuthMe;
import fr.xephi.authme.command.CommandParts;
import fr.xephi.authme.command.ExecutableCommand;
import fr.xephi.authme.settings.Messages;
/**
*/