KubeJS Extras

KubeJS Extras

2M Downloads

Can't delete items using RegEx

SandWoodJones opened this issue ยท 2 comments

commented

I don't know if i'm doing anything wrong here as i'm new to kubeJS and JS in general but to me it seems correct. This should delete all of charm's chests from REI but it does nothing

events.listen("kjsextras_rei", event => {
	event.remove("/^charm:.*chest/");
});
commented

Only exact item ids are supported atm. No plans to extend support, sorry. (in this case you can probably disable these chests in charm's config).

commented

I did that but they still show up in REI, thanks for the help though