DNAmaster10 / TraincartsTicketShop

A Spigot plugin which extends the functionality of the Traincarts Plugin by introducing player-made ticket shops into the game
1 stars 1 forks source link

Evaluate whether getName(), getDisplayName() or something in-between should be used. #48

Closed DNAmaster10 closed 1 month ago

DNAmaster10 commented 3 months ago

Currently, we use getDisplayName() everywhere. If a server is using nicknames, this can be problematic, as the Mojang API returns actual usernames and not nicknames.

This needs further investigating and testing to see what works best.

DNAmaster10 commented 1 month ago

Nicknames don't seem to be a problem here.