Skip to content

Commit 7708014

Browse files
committed
chore: revert throwable throw
1 parent 540e753 commit 7708014

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

worldedit-bukkit/adapters/adapter-1_21_9/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/fawe/v1_21_9/PaperweightGetBlocks.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ protected <T extends Future<T>> T internalCall(
337337
int copyKey,
338338
LevelChunk nmsChunk,
339339
ServerLevel nmsWorld
340-
) throws Throwable {
340+
) throws Exception {
341341
PaperweightGetBlocks_Copy copy = createCopy ? new PaperweightGetBlocks_Copy(nmsChunk) : null;
342342
if (createCopy) {
343343
if (copies.containsKey(copyKey)) {

worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/adapter/AbstractBukkitGetBlocks.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected abstract <T extends Future<T>> T internalCall(
6262
int copyKey,
6363
LevelChunk nmsChunk,
6464
ServerLevel nmsWorld
65-
) throws Throwable;
65+
) throws Exception;
6666

6767
@Override
6868
@SuppressWarnings({"rawtypes", "unchecked"})

0 commit comments

Comments
 (0)