Browse Source

Query string updated.

master
MagicBot 2 years ago
parent
commit
1e3aab1623
  1. 2
      src/engine/db/handlers/dbContractHandler.java

2
src/engine/db/handlers/dbContractHandler.java

@ -39,7 +39,7 @@ public class dbContractHandler extends dbHandlerBase { @@ -39,7 +39,7 @@ public class dbContractHandler extends dbHandlerBase {
return null;
try (Connection connection = DbManager.getConnection();
PreparedStatement preparedStatement = connection.prepareStatement("SELECT `obj_building`.*, `object`.`parent` FROM `object` INNER JOIN `obj_building` ON `obj_building`.`UID` = `object`.`UID` WHERE `object`.`UID` = ?;")) {
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_npc_contract` WHERE `ID` = ?")) {
preparedStatement.setInt(1, objectUUID);

Loading…
Cancel
Save