Important update: Fixed two crash bugs in attribute getting/setting. Less importantly, the money value shown in 'inventory' now pluralizes properly.

This commit is contained in:
Greg Taylor 2007-04-23 15:22:40 +00:00
parent 9335adc03a
commit 9e587bd4e3
4 changed files with 10 additions and 10 deletions

View file

@ -557,7 +557,7 @@ def cmd_set(cdat):
attrib_value = eq_args[1][splicenum:]
# In global_defines.py, see NOSET_ATTRIBS for protected attribute names.
if not functions_db.is_modifiable_attrib(attrib_name):
if not functions_db.is_modifiable_attrib(attrib_name) and not pobject.is_superuser():
session.msg("You can't modify that attribute.")
return