#command executing twice

4 messages · Page 1 of 1 (latest)

pseudo hazel
#
BlockEvents.rightClicked((event) => {
  if () return;
  if (event.block.hasTag('hexadditions:runes') == false) return;
event.player.runCommandSilent('give @a stick');
  });

for some reason im given 2 sticks upon right click

spice prawnBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

pseudo hazel
#

ok why'd i instantly find a solution

#

if (event.hand == "MAIN_HAND") return; will filter for one hand since you have 2