Skip to content

Commit

Permalink
Fixed errors from WildStacker ignored and may lead to errors when cal…
Browse files Browse the repository at this point in the history
…culating islands (#1485)
  • Loading branch information
OmerBenGera committed Dec 21, 2022
1 parent 7ddfd2e commit 73026e8
Showing 1 changed file with 3 additions and 1 deletion.
@@ -1,6 +1,7 @@
package com.bgsoftware.superiorskyblock.external;

import com.bgsoftware.superiorskyblock.core.ChunkPosition;
import com.bgsoftware.superiorskyblock.core.logging.Log;
import com.bgsoftware.wildstacker.api.WildStackerAPI;
import com.bgsoftware.wildstacker.api.objects.StackedSnapshot;
import org.bukkit.Chunk;
Expand Down Expand Up @@ -35,7 +36,8 @@ public static void takeSnapshot(Chunk chunk) {
if (stackedSnapshot != null) {
cachedSnapshots.put(chunkPosition, stackedSnapshot);
}
} catch (Throwable ignored) {
} catch (Throwable error) {
Log.error(error, "Received an unexpected error while taking a snapshot for WildStacker:");
}
}

Expand Down

0 comments on commit 73026e8

Please sign in to comment.