#4536 close parcel send thru mail system to other player
Auto close parcel, when it's send to other player thru mail system.
The solution referenced in issue #4535 is better, but you ignore it because it is a canary.
The solution referenced in issue #4535 is better, but you ignore it because it is a canary.
so if you really think that solution is somehow "better", would you be able to elaborate how that PR is better?
The solution referenced in issue #4535 is better, but you ignore it because it is a canary.
I would call it hotfix. Like Gunzodus's "block possibility to send parcel, when you are standing 1 sqm from mailbox". It fixed crash issue, but not solved real problem.
Canary fix does not solve all possible scenarios [ex. moving container into player Inbox from Lua - without 'mail system'] and add new bug to engine: close parcel when you put it on mailbox, even if it's not delivered to player [ex. it's addressed to player that does not exist].
Of course I've ignored it. I don't watch canary commits. They are all the same: fix part of problem + add new problem.
just a note in case anyone is wondering on why this PR has not been merged yet, it was targeted specifically to branch 1.4, which currently doesn't have any active maintainer thus we still haven't decided how to handle this as of yet
if anyone is feeling like doing so, open a new PR targeting master branch and adding the due credits and we will merge it as soon as possible
The solution referenced in issue #4535 is better, but you ignore it because it is a canary.
Canary solution is fetching tiles and spectators again and doing at least two extra loops (getSpectators and "for" spectators) when all that had to be done was to add one "if" statement in place that already had all required variables and was already part of the loop that is going through the container spectators.
in short: canary solution has two unnecessary loops