DCC onCharItemDelete not working
CharManager.onCharItemDelete does not run when an item is deleted from the inventory, so weapons stay in the weapon list on the Actions tab, and AC does not recalculate. Debug confirms that the function simply isn't running when the item is deleted, which is strange because CharManager.onCharItemAdd works great.
The ruleset is layered on CoreRPG and borrows heavily from 5E. I have this in the CharManager.onInit function...
Code:
function onInit()
ItemManager.setCustomCharAdd(onCharItemAdd);
ItemManager.setCustomCharRemove(onCharItemDelete);
end
No extensions running, created a new campaign, restarted the computer - still nothing... I feel like I am missing something very basic.
Any ideas?