- 1
- Posts
- 8
- Years
- Seen Dec 28, 2023
Hey Everyone,
I'd like to make an existing item handler behave differently from another script. (So not editing where it initially is created)
I know it's possible to add an item handler with :
however if an Item handler for an item+situation already exists and you add it again it gets ignored (presumably because it gets pushed to the array, and the first handler already returns true/false)
I'd like to know if it's possible to either remove an existing handler before adding a new one, or to somehow edit one.
Any help would be greatly apreciated!
I'd like to make an existing item handler behave differently from another script. (So not editing where it initially is created)
I know it's possible to add an item handler with :
Code:
ItemHandlers::<SITUATION>.add (or addif)
I'd like to know if it's possible to either remove an existing handler before adding a new one, or to somehow edit one.
Any help would be greatly apreciated!