Before deleting a custom item, check that it is not used as slot display anywhere
knokko opened this issue ยท 2 comments
Currently, it is possible to remove a custom item that is still used as slot display in a custom container. When this happens, trying to save or export will generate a NullPointerException (and thus, it is no longer possible to save).
I should add a validation check to ensure this can't happen.