Harmonious-Engineering/kubejs/client_scripts/portable_woodcutter.js
2022-01-31 08:57:45 -06:00

6 lines
243 B
JavaScript

// Only needed to prevent the player's inventory from looking like this was consumed even though it wasn't.
onEvent('block.right_click', event => {
if (event.getItem() === 'corail_woodcutter:acacia_woodcutter') {
event.cancel();
}
});