diff --git a/CHANGELOG.md b/CHANGELOG.md index ef1802e..5cd860d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/worldeditadditions_commands/commands/meta/airapply.lua b/worldeditadditions_commands/commands/meta/airapply.lua index 5cd3331..c5e04df 100644 --- a/worldeditadditions_commands/commands/meta/airapply.lua +++ b/worldeditadditions_commands/commands/meta/airapply.lua @@ -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)