From 62ffb1a904bc5d79dc39cdc998222752f0ed9a8f Mon Sep 17 00:00:00 2001 From: games647 Date: Tue, 20 Sep 2016 13:55:03 +0200 Subject: [PATCH] [Bukkit] Fix adding to premium whitelist --- .../games647/fastlogin/bukkit/commands/CrackedCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/commands/CrackedCommand.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/commands/CrackedCommand.java index 977c727f..88378b46 100644 --- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/commands/CrackedCommand.java +++ b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/commands/CrackedCommand.java @@ -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"));