project-meteor-server/data/scripts/commands/BazaarUndealCommand.lua
2017-12-10 22:54:47 -05:00

15 lines
328 B
Lua

--[[
BazaarUndealCommand Script
Handles canceling bazaar items
--]]
function onEventStarted(player, actor, triggerName, rewardItem, arg1, bazaarType, arg2, bazaarActor, rewardAmount, seekAmount, arg3, arg4, type9ItemIds)
GetWorldManager():RemoveFromBazaar(player, player:GetItem(rewardItem));
player:EndEvent();
end