From a8dcb206ffe1e8051ee3997d2f7ef0640d4e4d06 Mon Sep 17 00:00:00 2001 From: OmerBenGera Date: Mon, 14 Sep 2020 23:09:48 +0300 Subject: [PATCH] Fixed loaders not removed from database --- .../com/bgsoftware/wildloaders/handlers/LoadersHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/bgsoftware/wildloaders/handlers/LoadersHandler.java b/src/main/java/com/bgsoftware/wildloaders/handlers/LoadersHandler.java index 4fa5f56..e0ccb18 100644 --- a/src/main/java/com/bgsoftware/wildloaders/handlers/LoadersHandler.java +++ b/src/main/java/com/bgsoftware/wildloaders/handlers/LoadersHandler.java @@ -87,7 +87,7 @@ public final class LoadersHandler implements LoadersManager { chunkLoader.getNPC().ifPresent(npc -> plugin.getNPCs().killNPC(npc)); Query.DELETE_CHUNK_LOADER.insertParameters() - .setObject(location) + .setLocation(location) .queue(location); }