fix bool value bug in zr_class_modify
This commit is contained in:
parent
115d24b997
commit
63adb12960
|
@ -388,7 +388,7 @@ public Action:ClassModifyCommand(client, argc)
|
|||
{
|
||||
case ClassDataType_Boolean:
|
||||
{
|
||||
if (!ClassModifyBoolean(classindex, attributeflag, bool:StringToInt(value)))
|
||||
if (!ClassModifyBoolean(classindex, attributeflag, ConfigSettingToBool(value)))
|
||||
{
|
||||
ReplyToCommand(client, "Failed to set \"%s\" to \"%s\" in class \"%d\".", attributename, value, classindex);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user