Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 293-translate-help-messages
Conflicts: src/main/java/fr/xephi/authme/command/help/HelpProvider.java
This commit is contained in:
@@ -100,6 +100,11 @@ public enum AdminPermission implements PermissionNode {
|
||||
*/
|
||||
RELOAD("authme.admin.reload", DefaultPermission.OP_ONLY),
|
||||
|
||||
/**
|
||||
* Permission to see Antibot messages.
|
||||
*/
|
||||
ANTIBOT_MESSAGES("authme.admin.antibotmessages", DefaultPermission.OP_ONLY),
|
||||
|
||||
/**
|
||||
* Permission to see the other accounts of the players that log in.
|
||||
*/
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package fr.xephi.authme.permission;
|
||||
|
||||
import fr.xephi.authme.ConsoleLogger;
|
||||
import fr.xephi.authme.cache.limbo.LimboCache;
|
||||
import fr.xephi.authme.cache.limbo.PlayerData;
|
||||
import fr.xephi.authme.data.limbo.LimboCache;
|
||||
import fr.xephi.authme.data.limbo.LimboPlayer;
|
||||
import fr.xephi.authme.initialization.Reloadable;
|
||||
import fr.xephi.authme.settings.Settings;
|
||||
import fr.xephi.authme.settings.properties.HooksSettings;
|
||||
@@ -72,7 +72,7 @@ public class AuthGroupHandler implements Reloadable {
|
||||
|
||||
case LOGGED_IN:
|
||||
// Get the player data
|
||||
PlayerData data = limboCache.getPlayerData(player.getName().toLowerCase());
|
||||
LimboPlayer data = limboCache.getPlayerData(player.getName().toLowerCase());
|
||||
if (data == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user