mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Fix database setting of last/offline/respawn positions not executing
This commit is contained in:
1 parent
d74cc97942
commit
f78c6618bd
2 files changed
+6
No files matched your search
@@ -717,6 +717,7 @@ public class MySqlDatabase extends Database {
|
||||
WHERE `uuid`=?;"""))) {
|
||||
updateStatement.setInt(1, setPosition(position, connection));
|
||||
updateStatement.setString(2, user.uuid.toString());
|
||||
updateStatement.executeUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -778,6 +779,7 @@ public class MySqlDatabase extends Database {
|
||||
WHERE `uuid`=?;"""))) {
|
||||
updateStatement.setInt(1, setPosition(position, connection));
|
||||
updateStatement.setString(2, user.uuid.toString());
|
||||
updateStatement.executeUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -854,6 +856,7 @@ public class MySqlDatabase extends Database {
|
||||
WHERE `uuid`=?;"""))) {
|
||||
updateStatement.setInt(1, setPosition(position, connection));
|
||||
updateStatement.setString(2, user.uuid.toString());
|
||||
updateStatement.executeUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -699,6 +699,7 @@ public class SqLiteDatabase extends Database {
|
||||
WHERE `uuid`=?;"""))) {
|
||||
updateStatement.setInt(1, setPosition(position, connection));
|
||||
updateStatement.setString(2, user.uuid.toString());
|
||||
updateStatement.executeUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -760,6 +761,7 @@ public class SqLiteDatabase extends Database {
|
||||
WHERE `uuid`=?;"""))) {
|
||||
updateStatement.setInt(1, setPosition(position, connection));
|
||||
updateStatement.setString(2, user.uuid.toString());
|
||||
updateStatement.executeUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -836,6 +838,7 @@ public class SqLiteDatabase extends Database {
|
||||
WHERE `uuid`=?;"""))) {
|
||||
updateStatement.setInt(1, setPosition(position, connection));
|
||||
updateStatement.setString(2, user.uuid.toString());
|
||||
updateStatement.executeUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user