//airapply: error handling

This commit is contained in:
Starbeamrainbowlabs 2021-08-07 21:16:17 +01:00
parent e1b1efb7ed
commit 10a649e597
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
2 changed files with 6 additions and 1 deletions

@ -12,8 +12,12 @@ Note to self: See the bottom of this file for the release template text.
- `//layers`: Add optional slope constraint (inspired by [WorldPainter](https://worldpainter.net/))
- `//bonemeal`: Add optional node list constraint
- `//walls`: Add optional thickness argument
- `//floodfill`: Fix crash caused by internal refactoring of the `Queue` data structure
- `//sstack`: Add human-readable approx volumes of regions in the selection stack
### Bugfixes
- `//airapply`: Improve error handling
- `//floodfill`: Fix crash caused by internal refactoring of the `Queue` data structure
- `//spop`: Fix wording in displayed message

@ -58,6 +58,7 @@ worldedit.register_command("airapply", {
cmd.func(name, worldeditadditions.table.unpack(args_parsed))
end, args_parsed
)
if not success then return success, stats_time end
local time_overhead = 100 - worldeditadditions.round((stats_time.fn / stats_time.all) * 100, 3)