mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Upstream changes, prefix changes, formatting changes, variable name changes
I think that draining waterlogged items also works now?
This commit is contained in:
@ -483,9 +483,9 @@ public final class CommandManager {
|
||||
} catch (CommandException e) {
|
||||
String message = e.getMessage();
|
||||
if (message != null) {
|
||||
actor.printError(BBC.getPrefix() + e.getMessage());
|
||||
actor.printError(e.getMessage());
|
||||
} else {
|
||||
actor.printError(BBC.getPrefix() + "An unknown FAWE error has occurred! Please see console.");
|
||||
actor.printError("An unknown FAWE error has occurred! Please see console.");
|
||||
log.error("An unknown FAWE error occurred", e);
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
@ -493,7 +493,7 @@ public final class CommandManager {
|
||||
if (faweException != null) {
|
||||
BBC.WORLDEDIT_CANCEL_REASON.send(actor, faweException.getMessage());
|
||||
} else {
|
||||
actor.printError(BBC.getPrefix() + "There was an error handling a FAWE command: [See console]");
|
||||
actor.printError("There was an error handling a FAWE command: [See console]");
|
||||
actor.printRaw(e.getClass().getName() + ": " + e.getMessage());
|
||||
log.error("An unexpected error occurred while handling a FAWE command", e);
|
||||
}
|
||||
|
@ -516,7 +516,7 @@ public class PlatformManager {
|
||||
if (faweException != null) {
|
||||
BBC.WORLDEDIT_CANCEL_REASON.send(player, faweException.getMessage());
|
||||
} else {
|
||||
player.printError(BBC.getPrefix() + "Please report this error: [See console]");
|
||||
player.printError("Please report this error: [See console]");
|
||||
player.printRaw(e.getClass().getName() + ": " + e.getMessage());
|
||||
MainUtil.handleError(e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user