Skip to content

Commit

Permalink
Update reward_soul_war.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
lamonato29 committed Jun 18, 2024
1 parent 4af5b2d commit 030b0e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function phantasmalJadeMount.onUse(player, item, fromPosition, target, toPositio

if table.contains({ 34072, 34073, 34074 }, item.itemid) then
-- check items
if player:getItemCount(34072) >= 4 and player:getItemCount(34073) == 1 and player:getItemCount(34074) == 1 then
if player:getItemCount(34072) >= 4 and player:getItemCount(34073) >= 1 and player:getItemCount(34074) >= 1 then
player:removeItem(34072, 4)
player:removeItem(34073, 1)
player:removeItem(34074, 1)
Expand Down

0 comments on commit 030b0e1

Please sign in to comment.