This in the console causes it too (if you have an apropriate item in the first slot obviously ):
Code: Select all
/c game.player.get_inventory(defines.inventory.player_main)[1].durability = 0
Code: Select all
/c game.player.get_inventory(defines.inventory.player_main)[1].durability = 0
That's what I thought. It's just the error message wrong then?Rseding91 wrote:It should state that it has to be larger than 0.
If you want to set it to 0 just set it to default and reduce the count by 1.