Skip to content

Commit

Permalink
fix: potential bug where client cancels right click event animation a…
Browse files Browse the repository at this point in the history
…nd sound
  • Loading branch information
Yarden-zamir committed Nov 11, 2024
1 parent 6176ef8 commit 2660aae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubejs/client_scripts/handInteractions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
BlockEvents.rightClicked("createdieselgenerators:diesel_engine", (event) => {
if (event.block != "createdieselgenerators:diesel_engine") return;
event.cancel();
});
BlockEvents.rightClicked("create:spout", (event) => {
if (event.block != "create:spout") return;
event.cancel();
});

0 comments on commit 2660aae

Please sign in to comment.