Improve config-file errors from /ma setting.
Catches ConfigError and prints its message rather than letting it bubble up to the command handler as an uncaught exception. This means that instead of seeing "An internal error occurred...", command senders now see the underlying error message, as well as a short message telling them to fix the error in the config-file and reload. Closes #599
This commit is contained in:
@@ -18,6 +18,7 @@ These changes will (most likely) be included in the next version.
|
||||
- The Root Target ability now uses potion effects (slowness, slow falling, and negative jump boost) instead of repeated teleports. This should make for a smoother root experience.
|
||||
- Config-files with missing `pet-items` nodes no longer errors. A missing `pet-items` node in `global-settings` is treated as empty, i.e. no pet items will be registered.
|
||||
- The `player-time-in-arena` setting has been fixed.
|
||||
- Config-file errors imposed by incorrect usage of `/ma setting` no longer cause "internal errors". Instead, the errors are properly communicated in the command output similar to how the `/ma reload` command works.
|
||||
|
||||
## [0.104.2] - 2020-01-03
|
||||
- The region overlap check now works across both arena and lobby regions, i.e. all four combinations of intersections between two regions (arena-arena, arena-lobby, lobby-arena, and lobby-lobby) are evaluated.
|
||||
|
||||
Reference in New Issue
Block a user