mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
cleanup
This commit is contained in:
parent
da662afcf4
commit
69a09aec17
@ -55,7 +55,6 @@ import fr.xephi.authme.settings.OtherAccounts;
|
||||
import fr.xephi.authme.settings.Settings;
|
||||
import fr.xephi.authme.settings.Spawn;
|
||||
import fr.xephi.authme.util.Utils;
|
||||
import net.milkbowl.vault.permission.Permission;
|
||||
import net.minelink.ctplus.CombatTagPlus;
|
||||
|
||||
/**
|
||||
|
@ -14,7 +14,6 @@ import org.bukkit.entity.Player;
|
||||
|
||||
import fr.xephi.authme.settings.Settings;
|
||||
import fr.xephi.authme.util.Utils;
|
||||
import net.milkbowl.vault.permission.Permission;
|
||||
|
||||
/**
|
||||
*/
|
||||
|
@ -14,7 +14,6 @@ import fr.xephi.authme.cache.backup.DataFileCache;
|
||||
import fr.xephi.authme.cache.backup.JsonCache;
|
||||
import fr.xephi.authme.events.ResetInventoryEvent;
|
||||
import fr.xephi.authme.settings.Settings;
|
||||
import org.bukkit.permissions.Permission;
|
||||
|
||||
/**
|
||||
*/
|
||||
|
@ -500,7 +500,7 @@ public class PermissionsManager {
|
||||
*
|
||||
* @return The name of the primary permission group. Or null.
|
||||
*/
|
||||
@SuppressWarnings({"unchecked", "rawtypes", "deprecation"})
|
||||
@SuppressWarnings("deprecation")
|
||||
public String getPrimaryGroup(Player player) {
|
||||
// If no permissions system is used, return an empty list
|
||||
if(!isEnabled())
|
||||
|
@ -219,10 +219,6 @@ public final class Utils {
|
||||
&& (Settings.getUnrestrictedName.contains(player.getName()));
|
||||
}
|
||||
|
||||
private static boolean useGroupSystem() {
|
||||
return Settings.isPermissionCheckEnabled && !Settings.getUnloggedinGroup.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* Method packCoords.
|
||||
* @param x double
|
||||
|
Loading…
Reference in New Issue
Block a user