mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2026-04-08 15:51:57 +02:00
Add isSaved helper
This commit is contained in:
@@ -38,7 +38,7 @@ public class AsyncToggleMessage implements Runnable {
|
||||
private void turnOffPremium() {
|
||||
PlayerProfile playerProfile = core.getStorage().loadProfile(targetPlayer);
|
||||
//existing player is already cracked
|
||||
if (playerProfile.getUserId() != -1 && !playerProfile.isPremium()) {
|
||||
if (playerProfile.isSaved() && !playerProfile.isPremium()) {
|
||||
sendMessage("not-premium");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user