mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +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();
|
||||
}
|
||||
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());
|
||||
} catch (IllegalArgumentException | IllegalAccessException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user