Page 1 of 1

[1.1] on_pre_ghost_deconstructed fires on item-requester-proxy

Posted: Sun Dec 31, 2023 11:00 am
by Natha
The event on_pre_ghost_deconstructed (and maybe on_pre_ghost_upgraded too) also fires if you deconstruct an item request proxy. That causes errors like:
Error while running event **::on_pre_ghost_deconstructed (ID 96)
Entity is not ghost.
which is nothing you expect on events that are for ghosts.

If this behaviour is intended (I understand that item request proxies are not "real" entities) you should at least have a mention in the Docs.

Re: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy

Posted: Sun Dec 31, 2023 1:12 pm
by Loewchen

Re: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy

Posted: Sun Dec 31, 2023 1:30 pm
by Bilka
Moving this to doc requests for the doc improvement. (commit hash of behaviour change: dd69077)

Re: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy

Posted: Mon Jan 01, 2024 2:30 pm
by Bilka
Added to the docs with the next version (1.1.102).