forked from unimatrix/web
Update SharedDatabase.java
This commit is contained in:
parent
a08e77b0b8
commit
6418ba978e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ public final class SharedDatabase {
|
|||
try(PreparedStatement q=c.prepareStatement("SELECT faction,solaris,inventory FROM dune_players WHERE uuid=?")){
|
||||
q.setObject(1,p.getUniqueId());
|
||||
try (ResultSet r = q.executeQuery()) {
|
||||
if (r.next()) {
|
||||
if (r.next()) {
|
||||
factions.put(p.getUniqueId(),r.getString(1));money.put(p.getUniqueId(),r.getInt(2));
|
||||
String blob=r.getString(3);
|
||||
if(blob!=null && !blob.isBlank()){
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff