QuentinGruber / h1z1-server

Library used to emulate h1z1 game servers
https://h1emu.com
GNU General Public License v3.0
94 stars 53 forks source link

Max durability for /additem #2043

Closed Nikolassparrow closed 5 months ago

Nikolassparrow commented 5 months ago

I noticed while testing #2042 that doing /additem will give you randomized durability (if the item qualifies), so this PR adds the boolean to generateItem in the addItem function.