Changed priority of chunks listener

This commit is contained in:
OmerBenGera 2020-11-18 11:49:01 +02:00
parent b1f8ad27a8
commit 9cb5a1e7f2

View File

@ -15,7 +15,7 @@ public final class ChunksListener implements Listener {
this.plugin = plugin;
}
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
public void onChunkUnload(ChunkUnloadEvent e){
try {
if (plugin.getLoaders().getChunkLoader(e.getChunk()).isPresent())