Fixed loaders not removed from database

This commit is contained in:
OmerBenGera 2020-09-14 23:09:48 +03:00
parent 8fa24f7cd9
commit a8dcb206ff

View File

@ -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);
}