Chest rollbacks not working
oliverwoodings opened this issue ยท 3 comments
I've also noticed that any item with a data/damage value will not revert. Which probably means a custom inv.addItem() / .remItem().
Found the reason for the bug.
You're using:
if (!(block instanceof InventoryHolder)) return false;
instead of:
if (!(block.getState() instanceof InventoryHolder)) return false;