[Bug]: Closing door delete items on the ground #4839
Labels
bug
An issue describing unexpected behavior of code
needs-confirmation
not confirmed by a developer yet
By submitting this bug issue, you agree to the following.
Does this bug crash tfs?
no
Server Version
1.7 (Master), 1.4.x (Release)
Operation System
all (listed below)
OS Description
No response
Bug description
Auto closing door can delete item on the ground
Possible Pull Requests which are to blame
No response
Steps to reproduce
Best place to test it is on the real map is on Darashia Mino Tower
Code to reproduce the issue:
This part of the closing_door.lua is responsible for deleting items
forgottenserver/data/scripts/movements/closing_door.lua
Line 11 in 173ab18
It can be corelated with this issue: #4467 partialy fixed in here #4468
Actual Behavior
Items disappear. If you die on door SQM, your corpse will disappear. The problem is if the mailbox (or other solid item) is south or east from door. It should not happen because normally you can throw items on the mailbox.
Expected Behavior
Items are moved on the top of the mailbox or pushed oposite way if instead of mailbox is something like wall.
Backtrace
No response
The text was updated successfully, but these errors were encountered: