bs-community / blessing-skin-plugins

Official plugins for Blessing Skin.
MIT License
79 stars 37 forks source link

[Authme数据对接]最新版authme插件与皮肤站对接后,皮肤站的表authme可以读取,authme的表不能读取 #153

Open Guyao146 opened 2 years ago

Guyao146 commented 2 years ago

blessing版本 6.0.2 插件版本 2.4.3 authme Reloaded版本 5.0.0 Minecraft服务器版本 spigot 1.16.5 web服务器 apache 2.4.54

问题描述 游戏内使用authme注册后,在皮肤站又可以注册,但两边都注册后登录游戏,authme会报错数据表内可以找到两条数据,登录失败

authme报错信息

[17:36:36] [Craft Scheduler Thread - 2374/WARN] [AuthMe] Plugin AuthMe v5.6.0-SNAPSHOT-b2536 generated an exception while executing task 2360259 java.lang.IllegalStateException: Found 2 rows updated/inserted by statement, expected only 1 at fr.xephi.authme.libs.ch.jalu.datasourcecolumns.sqlimplementation.SqlColumnsHandler.performUpdateAction(SqlColumnsHandler.java:344) ~[?:?] at fr.xephi.authme.libs.ch.jalu.datasourcecolumns.sqlimplementation.SqlColumnsHandler.performUpdate(SqlColumnsHandler.java:232) ~[?:?] at fr.xephi.authme.libs.ch.jalu.datasourcecolumns.sqlimplementation.SqlColumnsHandler.update(SqlColumnsHandler.java:175) ~[?:?] at fr.xephi.authme.datasource.columnshandler.AuthMeColumnsHandler.update(AuthMeColumnsHandler.java:97) ~[?:?] at fr.xephi.authme.datasource.AbstractSqlDataSource.updateSession(AbstractSqlDataSource.java:73) ~[?:?] at fr.xephi.authme.datasource.CacheDataSource.updateSession(CacheDataSource.java:133) ~[?:?] at fr.xephi.authme.process.login.AsynchronousLogin.performLogin(AsynchronousLogin.java:276) ~[?:?] at fr.xephi.authme.process.login.AsynchronousLogin.login(AsynchronousLogin.java:104) ~[?:?] at fr.xephi.authme.process.Management.lambda$performLogin$0(Management.java:53) ~[?:?] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.19-R0.1-SNAPSHOT.jar:3550-Spigot-14a2382-9a8e080] at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.19-R0.1-SNAPSHOT.jar:3550-Spigot-14a2382-9a8e080] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:833) [?:?]