Deprecate isFreeTrialAccount

This commit is contained in:
AconiteGodOfSWG
2021-08-15 04:53:12 -04:00
parent 66d6e5e0ba
commit 8a2b1bf0e8
29 changed files with 11 additions and 306 deletions
@@ -1390,19 +1390,6 @@ public class xp extends script.base_script
}
public static void displayXpFlyText(obj_id player, obj_id target, int amount) throws InterruptedException
{
if (isFreeTrialAccount(player))
{
int playerLevel = getLevel(player);
if (playerLevel >= TRIAL_LEVEL_CAP)
{
debugSpeakMsg(player, "I am a greater than or equal to level " + xp.TRIAL_LEVEL_CAP);
prose_package pp = new prose_package();
prose.setDI(pp, xp.TRIAL_LEVEL_CAP);
prose.setStringId(pp, SID_FREE_TRIAL_LEVEL_CAP);
sendSystemMessageProse(player, pp);
return;
}
}
if (amount == 0)
{
return;