Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
fix: Deduplicate error messages (#1557)
Fixes https://github.com/IntellectualSites/FastAsyncWorldEdit/issues/1535
Dieser Commit ist enthalten in:
Ursprung
c461674402
Commit
e8f72d6521
@ -114,8 +114,6 @@ public class ChunkCommands {
|
||||
TextComponent.of(actor.getName())
|
||||
)
|
||||
);
|
||||
actor.print(new ChunkListPaginationBox(region).create(page));
|
||||
actor.print(Caption.of("worldedit.listchunks.listfor", TextComponent.of(actor.getName())));
|
||||
}
|
||||
|
||||
@Command(
|
||||
|
@ -769,13 +769,6 @@ public final class PlatformCommandManager {
|
||||
} catch (FaweException e) {
|
||||
actor.print(Caption.of("fawe.cancel.reason", e.getComponent()));
|
||||
} catch (UsageException e) {
|
||||
ImmutableList<Command> cmd = e.getCommands();
|
||||
if (!cmd.isEmpty()) {
|
||||
actor.print(Caption.of(
|
||||
"fawe.error.command.syntax",
|
||||
HelpGenerator.create(e.getCommandParseResult()).getFullHelp()
|
||||
));
|
||||
}
|
||||
actor.printError(e.getRichMessage());
|
||||
} catch (CommandExecutionException e) {
|
||||
handleUnknownException(actor, e.getCause());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren