ZwerOxotnik/m-lawful-evil

[FIXED] Item stack count has to be a positive number

Closed this issue · 2 comments

version: 0.3.26

When a law is passed that involve the % fine, it is possible that the value returned is invalid:

value = CalculatePercentageValue(

When invalid value is applied during EFFECT_TYPE_REWARD, player_insert fails with message 'Item stack count has to be a positive number:

player.insert{

image

@pliesveld, the issue probably still exists. I'll check it this/next week.