Bug - Fixed Don't accept $item[none] for add_item_condition()

zarqon

Well-known member
> ash add_item_condition(1,$item[none])

Condition added: (unknown item -1)
Returned: void

An error in ZLib's obtain() function (it didn't handle wildcards) led to ASH's add_item_condition() being called with $item[none] as the item parameter. Mafia actually added these unknown item -1's as conditions, which caused BBB and the other scripts which were running to become incredibly confused (BBB started using all my boxcar turtles and slimy cysts!).

The error in ZLib has been fixed, but I think add_item_condition() could also stand to be changed to quietly return when passed $item[none].
 
Top