Group modifiers not handled properlyFixed

Found a bug in the group modifers logic.  In this block of code the "break;" was outside the if block and was exiting after the first permission check.  It just needs to be moved inside the if block so it applies the amount of the highest most permission group the player may have.

foreach (var groupModifier in config.Settings.GroupModifiers.OrderByDescending(x=>x.Value))
{
if (permission.UserHasPermission(player.UserIDString, groupModifier.Key))
{
amount *= float.Parse(groupModifier.Value.ToString());
break;
}
}

Good catch.. Missed that when testing last night :-).. I will patch it this am

Awsome, thanks!

Locked automatically