diff --git a/CHANGELOG.md b/CHANGELOG.md index 04f81095f1..87094b6160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Bug fix: `$an()` inlinefunc didn't understand to use 'an' words starting with a capital vowel - Bug fix: Another case of the 'duplicate Discord bot connections' bug +- Fix: Make XYZGrid contrib's MapParserErrors more succinct ## Evennia 1.1.1 diff --git a/evennia/contrib/grid/xyzgrid/xyzgrid.py b/evennia/contrib/grid/xyzgrid/xyzgrid.py index 71935c4009..6b800bd1b5 100644 --- a/evennia/contrib/grid/xyzgrid/xyzgrid.py +++ b/evennia/contrib/grid/xyzgrid/xyzgrid.py @@ -295,8 +295,8 @@ def get_xyzgrid(print_errors=True): xyzgrid.reload() return xyzgrid elif len(xyzgrid) > 1: - ( - "Warning: More than one XYZGrid instances were found. This is an error and " + print( + "Warning: More than one XYZGrid instance were found. This is an error and " "only the first one will be used. Delete the other one(s) manually." ) xyzgrid = xyzgrid[0] @@ -304,7 +304,7 @@ def get_xyzgrid(print_errors=True): if not xyzgrid.ndb.loaded: xyzgrid.reload() except Exception as err: - raise + # raise # debug if print_errors: print(err) else: