1
mirror of https://github.com/CarmJos/MoeTeleport.git synced 2024-09-19 21:35:56 +00:00

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

This commit is contained in:
Carm Jos 2022-02-25 05:46:25 +08:00
parent f3c5ff6eb6
commit e81055e3f2

View File

@ -74,7 +74,7 @@ public class MySQLStorage implements DataStorage {
getSQLManager().createReplace(DBTables.UserLastLocations.TABLE_NAME.get()) getSQLManager().createReplace(DBTables.UserLastLocations.TABLE_NAME.get())
.setColumnNames("uuid", "world", "x", "y", "z", "yaw", "pitch") .setColumnNames("uuid", "world", "x", "y", "z", "yaw", "pitch")
.setParams( .setParams(
data.getUserUUID(), location.getWorld(), data.getUserUUID(), location.getWorld().getName(),
location.getX(), location.getY(), location.getZ(), location.getX(), location.getY(), location.getZ(),
location.getYaw(), location.getPitch() location.getYaw(), location.getPitch()
).execute(); ).execute();