This commit is contained in:
Gabriele C 2015-11-22 17:20:23 +01:00
parent da662afcf4
commit 69a09aec17
5 changed files with 1 additions and 8 deletions

View File

@ -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;
/**

View File

@ -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;
/**
*/

View File

@ -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;
/**
*/

View File

@ -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())

View File

@ -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