1
mirror of https://github.com/CarmJos/MoeTeleport.git synced 2026-06-04 16:46:10 +08:00

修复数据库保存传参错误的问题

This commit is contained in:
2022-02-25 05:46:25 +08:00
parent f3c5ff6eb6
commit e81055e3f2
@@ -74,7 +74,7 @@ public class MySQLStorage implements DataStorage {
getSQLManager().createReplace(DBTables.UserLastLocations.TABLE_NAME.get())
.setColumnNames("uuid", "world", "x", "y", "z", "yaw", "pitch")
.setParams(
data.getUserUUID(), location.getWorld(),
data.getUserUUID(), location.getWorld().getName(),
location.getX(), location.getY(), location.getZ(),
location.getYaw(), location.getPitch()
).execute();