mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-28 03:57:38 +01:00
*rename method
This commit is contained in:
parent
dd28c78a36
commit
d1f6ef14ef
@ -315,7 +315,7 @@ public class AnvilCommands {
|
|||||||
desc = "Trim all flat chunks"
|
desc = "Trim all flat chunks"
|
||||||
)
|
)
|
||||||
@CommandPermissions("worldedit.anvil.trimallflat")
|
@CommandPermissions("worldedit.anvil.trimallflat")
|
||||||
public void trimAllAir(Player player, String folder, @Switch('u') boolean unsafe) throws WorldEditException {
|
public void trimFlatFilter(Player player, String folder, @Switch('u') boolean unsafe) throws WorldEditException {
|
||||||
TrimFlatFilter filter = new TrimFlatFilter();
|
TrimFlatFilter filter = new TrimFlatFilter();
|
||||||
TrimFlatFilter result = runWithWorld(player, folder, filter, true, unsafe);
|
TrimFlatFilter result = runWithWorld(player, folder, filter, true, unsafe);
|
||||||
if (result != null) player.print(BBC.getPrefix() + BBC.VISITOR_BLOCK.format(result.getTotal()));
|
if (result != null) player.print(BBC.getPrefix() + BBC.VISITOR_BLOCK.format(result.getTotal()));
|
||||||
|
Loading…
Reference in New Issue
Block a user