AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
640 stars 511 forks source link

Synchronize the PlayerAuthObject to prevent bugs #2799

Closed HaHaWTH closed 8 months ago

HaHaWTH commented 8 months ago

When multiple players try to register at the same time, the following exception will throw:

IMG_3568

Configuration is default set

How to reproduce this: Use a bot tool to make them register at same time.

Synchronize the method will resolve this, I have tested multiple times, works fine and didn't break anything.