[Bukkit] Fix adding to premium whitelist

This commit is contained in:
games647
2016-09-20 13:55:03 +02:00
parent 5075a71843
commit 62ffb1a904

View File

@ -77,7 +77,7 @@ public class CrackedCommand implements CommandExecutor {
}
//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"));
} else {
sender.sendMessage(plugin.getCore().getMessage("remove-premium"));