bmddota/ContainersPlayground

Undroppable items

Closed this issue · 0 comments

MNoya commented

In Containers:Containers_OnDragWorld(args) add

if not item:IsDroppable() then
  Containers:DisplayError(playerID,"#dota_hud_error_item_cant_be_dropped")
  return
end