mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-31 19:24:47 +02:00
[Bukkit] Fix adding to premium whitelist
This commit is contained in:
@@ -77,7 +77,7 @@ public class CrackedCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//existing player is already cracked
|
//existing player is already cracked
|
||||||
if (profile.getUserId() == -1 && !profile.isPremium()) {
|
if (profile.getUserId() != -1 && !profile.isPremium()) {
|
||||||
sender.sendMessage(plugin.getCore().getMessage("not-premium-other"));
|
sender.sendMessage(plugin.getCore().getMessage("not-premium-other"));
|
||||||
} else {
|
} else {
|
||||||
sender.sendMessage(plugin.getCore().getMessage("remove-premium"));
|
sender.sendMessage(plugin.getCore().getMessage("remove-premium"));
|
||||||
|
Reference in New Issue
Block a user