diff --git a/kubejs/client_scripts/handInteractions.js b/kubejs/client_scripts/handInteractions.js index 1294691f..04fbe61d 100644 --- a/kubejs/client_scripts/handInteractions.js +++ b/kubejs/client_scripts/handInteractions.js @@ -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(); });