Harmonious-Engineering/kubejs/client_scripts/portable_woodcutter.js
2022-01-16 01:22:56 -06:00

6 lines
245 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();
}
});