Skip to content

Commit be8594a

Browse files
authored
Revert "Prevent assignment of trader-owned small pets (items, not units) to pits, ponds, and cages."
1 parent c156965 commit be8594a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

docs/changelog.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Template for new versions:
5656
## New Features
5757

5858
## Fixes
59-
- small animals owned by traders can no longer be assigned to pits, ponds, and cages.
6059

6160
## Misc Improvements
6261

plugins/lua/zone.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,7 @@ local function is_assignable_unit(unit)
602602
end
603603

604604
local function is_assignable_item(item)
605-
-- small pets owned by traders are not assignable
606-
if item.flags.trader then return false end
607-
-- other vermin/small pets are assignable
605+
-- all vermin/small pets are assignable
608606
return true
609607
end
610608

0 commit comments

Comments
 (0)