DragonTechMC / DTPunishment

Sponge API 5/7 - Punishment and Chat Filter Plugin
http://www.dragontechmc.com/
4 stars 6 forks source link

Usernames not updating #36

Closed yepidoodles closed 6 years ago

yepidoodles commented 7 years ago

The first message uses the correct username, but the 2nd one uses the username which the account had when the file was created for that user.

https://gyazo.com/cdf3b464a37c8155e64419b4d5f56fbb

charlespockert commented 7 years ago

Looks like sponge doesn't update the offline user data until someone logs off.

Will do some tweaking and make it look for the online player in all messages before reverting to the offline one.