Check if exp or sp is gained before sending reward message.

This commit is contained in:
MobiusDevelopment
2022-11-02 23:00:32 +00:00
parent 6fd8576181
commit 8e4340bed6
29 changed files with 29 additions and 29 deletions

View File

@@ -204,7 +204,7 @@ public class PlayerStat extends PlayableStat
sm = new SystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1_EXPERIENCE);
sm.addLong(finalExp);
}
else
else if ((finalExp > 0) || (finalSp > 0))
{
if ((addToExp - baseExp) > 0)
{