Closed XiaolongTW closed 1 year ago
I am having a similar issue. You should be able to get around it if you set "whitelist" to false.
My problem is that the whitelist doesn't work when it is on, it just disables the entire offhand for every item.
@XiaolongTW @NotAlexNoyle can you enable debug mode and post the output when OCM starts that lists all of the enabled modules? If a module is disabled it should not run at all.
@NotAlexNoyle whitelist: true
will only allow items listed under items
to be placed into the offhand slot. if you wish to fully disable the module, set enabled: false
. if you're trying to use disable-offhand
with a particular whitelist of items, but you're still not able to put items in your whitelist into your offhand slot, my guess is that you have the item names wrong (it's a bit unintuitive as we use names from Bukkit's Material
enum, rather than Minecraft's own item ID). if that's the case then please open a separate issue and fill out the template including your config and i'd be happy to help you get that sorted :)
@XiaolongTW can you please provide an exact set of reproduction steps in order to reproduce the bug? I just spent some time testing our logic for disabling & enabling modules and world whitelists/blacklists and was unable to find any case where it disabled the offhand slot when it was not supposed to
Information
Problem Description
It still disable offhand when I close it
To Reproduce
Steps to reproduce the behavior: 1. 2. 3. ### Expected BehaviourActual Behaviour