Skip to content

Sometimes the wrong event types are sent to the wrong handlers #1

Open
@intangir

Description

@intangir

it seems to send to MULTIPLE handlers actually, including its correct one, but also frequently i see invalid events being sent to handlers that have nothing to do with them

heres an example (among half a dozen ive run into at least)

https://github.com/intangir/AnarchicFrontiers/blob/master/plugins/Tweak_Lobby.py#L56

comment out the line 56 there and it will error every time you drop an item
because it sends an ItemSpawnEvent to a CreatureSpawnEvent handler

maybe you can help fix it, i am not very familiar with the internals of how this mod works..

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions