mirror of
https://github.com/CarmJos/MoeTeleport.git
synced 2024-09-19 21:35:56 +00:00
修复数据库保存传参错误的问题
This commit is contained in:
parent
f3c5ff6eb6
commit
e81055e3f2
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user