From 47a93f6545cc0ad7f1f731a6fc53f032a5926585 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 6 May 2024 13:56:18 -0400 Subject: [PATCH] sql parm count fix --- src/engine/db/handlers/dbCityHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbCityHandler.java b/src/engine/db/handlers/dbCityHandler.java index 093cc7b3..92307f45 100644 --- a/src/engine/db/handlers/dbCityHandler.java +++ b/src/engine/db/handlers/dbCityHandler.java @@ -58,7 +58,7 @@ public class dbCityHandler extends dbHandlerBase { ArrayList 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