mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 06:36:44 +01:00
Improve error message claiming plots with ids
This commit is contained in:
parent
40e651188e
commit
e3e00d34ef
@ -234,7 +234,7 @@ public class Auto extends SubCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (size_x < 1 || size_z < 1) {
|
if (size_x < 1 || size_z < 1) {
|
||||||
player.sendMessage(TranslatableCaption.of("error.plot_size"));
|
player.sendMessage(TranslatableCaption.of("error.plot_size_negative"));
|
||||||
}
|
}
|
||||||
if (args.length > 1) {
|
if (args.length > 1) {
|
||||||
schematic = args[1];
|
schematic = args[1];
|
||||||
@ -244,9 +244,6 @@ public class Auto extends SubCommand {
|
|||||||
size_x = 1;
|
size_x = 1;
|
||||||
size_z = 1;
|
size_z = 1;
|
||||||
schematic = args[0];
|
schematic = args[0];
|
||||||
// PlayerFunctions.sendMessage(plr,
|
|
||||||
// "&cError: Invalid size (X,Y)");
|
|
||||||
// return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PlayerAutoPlotEvent event = this.eventDispatcher
|
PlayerAutoPlotEvent event = this.eventDispatcher
|
||||||
|
@ -306,7 +306,7 @@
|
|||||||
"errors.player_no_plots": "<prefix><gray>That player does not own any plots.</gray>",
|
"errors.player_no_plots": "<prefix><gray>That player does not own any plots.</gray>",
|
||||||
"errors.wait_for_timer": "<prefix><gray>A set block timer is bound to either the current plot or you. Please wait for it to finish.</gray>",
|
"errors.wait_for_timer": "<prefix><gray>A set block timer is bound to either the current plot or you. Please wait for it to finish.</gray>",
|
||||||
"errors.tile_entity_cap_reached": "<prefix><red>The total number of tile entities in this chunk may not exceed <gold><amount></gold>.</red>",
|
"errors.tile_entity_cap_reached": "<prefix><red>The total number of tile entities in this chunk may not exceed <gold><amount></gold>.</red>",
|
||||||
"error.plot_size": "<prefix><red>Error: size <= 0.</red>",
|
"error.plot_size_negative": "<prefix><red>Error: An input lower or equal to 0 is invalid.</red>",
|
||||||
"error.command_went_wrong": "<prefix><red>Something went wrong when executing that command.</red>",
|
"error.command_went_wrong": "<prefix><red>Something went wrong when executing that command.</red>",
|
||||||
"errors.not_implemented": "<prefix><red>Not implemented.</red>",
|
"errors.not_implemented": "<prefix><red>Not implemented.</red>",
|
||||||
"errors.stacktrace_begin": "<red>=== Begin of stacktrace ===</red>",
|
"errors.stacktrace_begin": "<red>=== Begin of stacktrace ===</red>",
|
||||||
|
Loading…
Reference in New Issue
Block a user