*rename method

This commit is contained in:
Jesse Boyd 2019-04-06 14:47:23 +11:00
parent dd28c78a36
commit d1f6ef14ef
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -315,7 +315,7 @@ public class AnvilCommands {
desc = "Trim all flat chunks"
)
@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 result = runWithWorld(player, folder, filter, true, unsafe);
if (result != null) player.print(BBC.getPrefix() + BBC.VISITOR_BLOCK.format(result.getTotal()));