update to use the new vault API
This commit is contained in:
@@ -464,7 +464,7 @@ public class AdminCommand implements CommandExecutor {
|
||||
@SuppressWarnings("deprecation")
|
||||
Player target = Bukkit.getPlayer(name);
|
||||
PlayerCache.getInstance().removePlayer(name);
|
||||
Utils.setGroup(name, GroupType.UNREGISTERED);
|
||||
Utils.setGroup(target, GroupType.UNREGISTERED);
|
||||
if (target != null) {
|
||||
if (target.isOnline()) {
|
||||
if (Settings.isTeleportToSpawnEnabled && !Settings.noTeleport) {
|
||||
|
||||
Reference in New Issue
Block a user