1
0
Fork 0
objects
kay27 2021-01-03 00:42:07 +04:00
parent c2521885ff
commit 30379c823c
7 changed files with 18 additions and 18 deletions

View File

@ -69,7 +69,7 @@ function mcl_loot.get_loot(loot_definitions, pr)
local wear_min = math.floor(item.wear_min / 10) local wear_min = math.floor(item.wear_min / 10)
local wear_max = math.floor(item.wear_max / 10) local wear_max = math.floor(item.wear_max / 10)
local wear = pr:next(wear_min, wear_max) * 10 local wear = pr:next(wear_min, wear_max) * 10
if not item.amount_min and not item.amount_max then if not item.amount_min and not item.amount_max then
itemstring = itemstring .. " 1" itemstring = itemstring .. " 1"
end end