Detailed modifications to Create+Addons

This commit is contained in:
oitsjustjose 2022-02-03 21:02:10 -06:00
commit 12a12f6786
5 changed files with 68 additions and 34 deletions

View file

@ -0,0 +1,10 @@
// 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();
}
if (event.getItem() === 'createaddition:connector') {
event.cancel();
}
});