#REIEvents.hide both wants and doesn't accept an ID

10 messages · Page 1 of 1 (latest)

sudden yacht
#
REIEvents.hide(event => {
...
});``` throws an error asking for an item ID. ```js
REIEvents.hide('create:copper_backtank_placeable', event => {
...
});``` throws an error saying it doesn't accept the id!!!
I'm very confused, just trying KJS6 now so I'm probably doing something stupid
last oysterBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

magic cairn
#

It expects "type"

#

The type here being "item"

#

Not the item id

#

You call event.hide('create:copper_backtank_placeable')

#

It has to know what are you hiding, valid options are "item" & "fluid" & any other registry type if something special is added

sudden yacht
#

jesus

#

I'm so dumb lol

#

I got tripped up specifically because of the wording "ID"