Add isSaved helper

This commit is contained in:
games647
2018-03-02 19:56:17 +01:00
parent 86694982c7
commit e2c04f2c26
5 changed files with 39 additions and 33 deletions
@@ -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);