mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-07 17:07:48 +01:00
Workaround for incomplete quester data, fixes #1704
This commit is contained in:
parent
1d3724e0aa
commit
0b77293929
@ -200,7 +200,7 @@ public class SqlStorage implements StorageImplementation {
|
||||
} else {
|
||||
try (PreparedStatement ps = c.prepareStatement(statementProcessor.apply(PLAYER_INSERT))) {
|
||||
ps.setString(1, uniqueId.toString());
|
||||
ps.setString(2, lastKnownName);
|
||||
ps.setString(2, lastKnownName != null ? lastKnownName : "unspecified");
|
||||
ps.setInt(3, quester.getQuestPoints());
|
||||
ps.execute();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user