So I'm making an item blacklist for this thing that dupes items, and I'm kinda stuck with it.
What I'm trying to do is have a String array in the config file and in the onItemRightClick method, loop through it and if the item is present, don't let it dupe the item.
onItemRightClick: https://github.com/VictiniX888/JARM.../victinix/jarm/items/magic/Ditto.java#L34-L42
Config: https://github.com/VictiniX888/JARM...ictinix/jarm/libs/Configurations.java#L80-L82
The chest won't get duped, but the torch will. I have no idea why. Everything else works fine...
What I'm trying to do is have a String array in the config file and in the onItemRightClick method, loop through it and if the item is present, don't let it dupe the item.
onItemRightClick: https://github.com/VictiniX888/JARM.../victinix/jarm/items/magic/Ditto.java#L34-L42
Config: https://github.com/VictiniX888/JARM...ictinix/jarm/libs/Configurations.java#L80-L82
The chest won't get duped, but the torch will. I have no idea why. Everything else works fine...