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