From da3bd3c88961007c0a181508e8b0ccef4e934e05 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 7 Dec 2009 14:38:23 +0100 Subject: [PATCH] Fixed zr_class_set_multiplier not aborting when there's a invalid attribute specified. --- src/zr/playerclasses/classcommands.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zr/playerclasses/classcommands.inc b/src/zr/playerclasses/classcommands.inc index 0a5b540..5ad6a87 100644 --- a/src/zr/playerclasses/classcommands.inc +++ b/src/zr/playerclasses/classcommands.inc @@ -563,6 +563,7 @@ public Action:ClassSetMultiplierCommand(client, argc) if (attribute == ClassM_Invalid) { ReplyToCommand(client, "Attribute is invalid or not a multiplier: %s", attributename); + return Plugin_Handled; } // Get value.