From 35dc1239f8b91fd0efc91417de2a087afca2e8a2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 8 Aug 2023 11:12:32 -0400 Subject: [PATCH] Record sort ASC is required. --- src/engine/db/handlers/dbPowerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbPowerHandler.java b/src/engine/db/handlers/dbPowerHandler.java index 18088913..27b3142f 100644 --- a/src/engine/db/handlers/dbPowerHandler.java +++ b/src/engine/db/handlers/dbPowerHandler.java @@ -95,7 +95,7 @@ public class dbPowerHandler extends dbHandlerBase { int recordsRead = 0; try (Connection connection = DbManager.getConnection(); - PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM static_npc_mobbase_powers")) { + PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM static_npc_mobbase_powers ORDER BY `id ASC;")) { ResultSet rs = preparedStatement.executeQuery();