Prestige

Prestige

14M Downloads

Reward uses "getDisplayNameString" which may not get actual player ID

Water-Moon opened this issue ยท 0 comments

commented

In the code of this mod (e.g. here), the method player.getDisplayNameString() is used instead of getting player's actual ID.

In certain cases, e.g. when FTBUtilities is installed and people changed their display name using /nick command, the return value of getDisplayNameString may be incorrect (be their nick instead of actual ID), resulting in the player not being able to get their reward.