mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Improved a few error messages.
This commit is contained in:
parent
b10d6dcfa5
commit
ff2115ca31
@ -2101,7 +2101,7 @@ public class WorldEditController {
|
|||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
player.printError("Number expected; string given.");
|
player.printError("Number expected; string given.");
|
||||||
} catch (IncompleteRegionException e) {
|
} catch (IncompleteRegionException e) {
|
||||||
player.printError("The edit region has not been fully defined.");
|
player.printError("Make a region selection first.");
|
||||||
} catch (UnknownItemException e) {
|
} catch (UnknownItemException e) {
|
||||||
player.printError("Block name '" + e.getID() + "' was not recognized.");
|
player.printError("Block name '" + e.getID() + "' was not recognized.");
|
||||||
} catch (InvalidItemException e) {
|
} catch (InvalidItemException e) {
|
||||||
@ -2118,7 +2118,7 @@ public class WorldEditController {
|
|||||||
} catch (InsufficientArgumentsException e) {
|
} catch (InsufficientArgumentsException e) {
|
||||||
player.printError(e.getMessage());
|
player.printError(e.getMessage());
|
||||||
} catch (EmptyClipboardException e) {
|
} catch (EmptyClipboardException e) {
|
||||||
player.printError("Your clipboard is empty.");
|
player.printError("Your clipboard is empty. Use //copy first.");
|
||||||
} catch (WorldEditException e) {
|
} catch (WorldEditException e) {
|
||||||
player.printError(e.getMessage());
|
player.printError(e.getMessage());
|
||||||
} catch (Throwable excp) {
|
} catch (Throwable excp) {
|
||||||
|
Loading…
Reference in New Issue
Block a user