--- deliantra/server/ext/Jeweler.pm 2007/02/04 11:44:43 1.10 +++ deliantra/server/ext/Jeweler.pm 2007/02/04 11:57:22 1.11 @@ -1085,7 +1085,10 @@ my $check_cnts = 0; my $check_true = 0; for my $match (@matchar) { - $check_cnts = 0 if $i % 3 == 0; + if ($i % 3 == 0) { + $check_cnts = 0; + $check_true = 0; + } if ($match =~ m/^\s*$/) { $i++; @@ -1105,6 +1108,7 @@ } $i++; } + #d# warn "CHECK $check_true | $check_cnts | [".(join ',', @matchar).":".join (",", ($thing->name, $thing->title, $thing->arch->name))."\n"; if ($check_true && $check_cnts == $check_true) { return 1; }