3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Update upstream

e485433 Fix legacy error message output for WorldGuard commands (2023)
Dieser Commit ist enthalten in:
NotMyFault 2022-01-30 19:54:50 +01:00
Ursprung 178604bbb7
Commit 38b0dcf7e4
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -77,7 +77,7 @@ public abstract class ExceptionConverterHelper implements ExceptionConverter {
throw (CommandException) e.getCause(); throw (CommandException) e.getCause();
} }
if (e.getCause() instanceof com.sk89q.minecraft.util.commands.CommandException) { if (e.getCause() instanceof com.sk89q.minecraft.util.commands.CommandException) {
throw new CommandException(e.getCause(), ImmutableList.of()); throw new CommandExecutionException(e.getCause(), ImmutableList.of());
} }
throw new CommandExecutionException(e, ImmutableList.of()); throw new CommandExecutionException(e, ImmutableList.of());
} catch (IllegalArgumentException | IllegalAccessException e) { } catch (IllegalArgumentException | IllegalAccessException e) {