|
|
|
@ -58,7 +58,7 @@ public class dbCityHandler extends dbHandlerBase {
@@ -58,7 +58,7 @@ public class dbCityHandler extends dbHandlerBase {
|
|
|
|
|
ArrayList<AbstractGameObject> objectList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
try (Connection connection = DbManager.getConnection(); |
|
|
|
|
PreparedStatement preparedStatement = connection.prepareStatement("CALL `city_CREATE`(?, ?, ?, ?, ?, ?, ?, ?, ?,?,?)")) { |
|
|
|
|
PreparedStatement preparedStatement = connection.prepareStatement("CALL `city_CREATE`(?, ?, ?, ?, ?, ?, ?, ?,?,?)")) { |
|
|
|
|
|
|
|
|
|
preparedStatement.setLong(1, ownerID); //objectUUID of owning player
|
|
|
|
|
preparedStatement.setLong(2, parentZoneID); //objectUUID of parent (continent) zone
|
|
|
|
|