Chocorean / authmod

Allows you to safely accept demo versions on your server.
https://minecraft.curseforge.com/projects/authmod
Apache License 2.0
20 stars 10 forks source link

Error while inserting a new player in a database is not always caught #38

Open Chocorean opened 3 years ago

Chocorean commented 3 years ago

it happened to me after a quick fix for #35

when cannot insert because of a unique key, the sql error is not caught, and player will need to register everytime they disconnect, which is critical.

Chocorean commented 3 years ago

TODO: make sure an error is raised when trying to violate unicity or something like that