Slightly improve regen workflow, update adapters to a9c745a600

This commit is contained in:
dordsor21
2021-09-16 17:42:31 +01:00
parent e4cbd85197
commit 4182d7473c
3 changed files with 43 additions and 39 deletions

View File

@ -21,6 +21,7 @@ package com.sk89q.worldedit.bukkit;
import com.fastasyncworldedit.bukkit.util.WorldUnloadedException;
import com.fastasyncworldedit.core.Fawe;
import com.fastasyncworldedit.core.internal.exception.FaweException;
import com.fastasyncworldedit.core.queue.IChunkGet;
import com.fastasyncworldedit.core.queue.implementation.packet.ChunkPacket;
import com.fastasyncworldedit.core.util.TaskManager;
@ -235,6 +236,8 @@ public class BukkitWorld extends AbstractWorld {
} else {
throw new UnsupportedOperationException("Missing BukkitImplAdapter for this version.");
}
} catch (FaweException e) {
throw e;
} catch (Exception e) {
LOGGER.warn("Regeneration via adapter failed.", e);
return false;