mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Add prefixes and make FAWE more translatable
This commit is contained in:
@ -249,7 +249,7 @@ public class RegionCommands extends MethodCommands {
|
||||
@Switch('h') boolean shell) throws WorldEditException {
|
||||
|
||||
if (!(region instanceof CuboidRegion)) {
|
||||
player.printError("//line only works with cuboid selections");
|
||||
player.printError(BBC.getPrefix() + "//line only works with cuboid selections");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -770,7 +770,7 @@ public class RegionCommands extends MethodCommands {
|
||||
public void forest(Player player, EditSession editSession, @Selection Region region, @Optional("tree") TreeType type,
|
||||
@Optional("5") @Range(min = 0, max = 100) double density) throws WorldEditException {
|
||||
int affected = editSession.makeForest(region, density / 100, type);
|
||||
player.print(affected + " trees created.");
|
||||
BBC.COMMAND_TREE.send(player, affected);
|
||||
}
|
||||
|
||||
@Command(
|
||||
|
Reference in New Issue
Block a user