Add isSaved helper
This commit is contained in:
5 files changed
+39
-33
No files matched your search
+1
-1
@@ -71,7 +71,7 @@ public class CrackedCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
//existing player is already cracked
|
||||
if (profile.getUserId() != -1 && !profile.isPremium()) {
|
||||
if (profile.isSaved() && !profile.isPremium()) {
|
||||
plugin.getCore().sendLocaleMessage("not-premium-other", sender);
|
||||
} else {
|
||||
plugin.getCore().sendLocaleMessage("remove-premium", sender);
|
||||
|
||||
Reference in new issue
Block a user