mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Update upstream
e485433 Fix legacy error message output for WorldGuard commands (2023)
This commit is contained in:
parent
178604bbb7
commit
38b0dcf7e4
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user