Code reformat, cleanup

This commit is contained in:
oitsjustjose 2022-01-31 08:57:45 -06:00
commit 14f6b71e78
71 changed files with 4369 additions and 3704 deletions

View file

@ -1,6 +1,6 @@
// 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") {
onEvent('block.right_click', event => {
if (event.getItem() === 'corail_woodcutter:acacia_woodcutter') {
event.cancel();
}
});