Since it only checked shouldSendForThisLevel for the new level, if you went from 3 > 8 with a level interval of 5, no message would be sent. It now loops the level difference and checks if one of 4,5,6,7,8(would pass at 5) is valid for the message.
Levelup messages are also modified to be as followed
Name leveled Magic to 20
Name leveled Magic to 20, and Prayer to 5
Name leveled Magic to 20, Prayer to 5, and Strength to 30.
Since it only checked
shouldSendForThisLevel
for the new level, if you went from 3 > 8 with a level interval of 5, no message would be sent. It now loops the level difference and checks if one of 4,5,6,7,8(would pass at 5) is valid for the message.Levelup messages are also modified to be as followed