Fixed player getWorldChatPoints WORLD_CHAT_POINTS calculations.

This commit is contained in:
MobiusDevelopment
2023-01-03 23:52:08 +00:00
parent dcbfa95a9b
commit 7985de8fd9
26 changed files with 26 additions and 26 deletions

View File

@@ -13840,7 +13840,7 @@ public class Player extends Playable
*/
public int getWorldChatPoints()
{
return (int) getStat().getValue(Stat.WORLD_CHAT_POINTS, Config.WORLD_CHAT_POINTS_PER_DAY);
return (int) ((Config.WORLD_CHAT_POINTS_PER_DAY + getStat().getAdd(Stat.WORLD_CHAT_POINTS, 0)) * getStat().getMul(Stat.WORLD_CHAT_POINTS, 1));
}
/**