geforkt von Mirrors/FastAsyncWorldEdit
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())
|
TextComponent.of(actor.getName())
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
actor.print(new ChunkListPaginationBox(region).create(page));
|
|
||||||
actor.print(Caption.of("worldedit.listchunks.listfor", TextComponent.of(actor.getName())));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
|
@ -769,13 +769,6 @@ public final class PlatformCommandManager {
|
|||||||
} catch (FaweException e) {
|
} catch (FaweException e) {
|
||||||
actor.print(Caption.of("fawe.cancel.reason", e.getComponent()));
|
actor.print(Caption.of("fawe.cancel.reason", e.getComponent()));
|
||||||
} catch (UsageException e) {
|
} 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());
|
actor.printError(e.getRichMessage());
|
||||||
} catch (CommandExecutionException e) {
|
} catch (CommandExecutionException e) {
|
||||||
handleUnknownException(actor, e.getCause());
|
handleUnknownException(actor, e.getCause());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren