mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2024-12-02 13:23:21 +01:00
fix -> tried to update on wrong table
This commit is contained in:
parent
07d1e3803f
commit
e97c827ddc
@ -44,10 +44,10 @@ public class PlayerWrapper {
|
||||
return;
|
||||
|
||||
Preconditions.checkNotNull(player);
|
||||
String playersTableName = PluginConfig.getPlayersTableName();
|
||||
String uuidTableName = PluginConfig.getUUIDTableName();
|
||||
|
||||
try {
|
||||
PreparedStatement ps = util.prepareStatement("REPLACE INTO " + playersTableName +
|
||||
PreparedStatement ps = util.prepareStatement("REPLACE INTO " + uuidTableName +
|
||||
" (uuid, name) VALUES (?, ?)");
|
||||
ps.setString(1, player.getUniqueId().toString());
|
||||
ps.setString(2, player.getName());
|
||||
|
Loading…
Reference in New Issue
Block a user