im trying to make a system where when you hold a specific item, you gain a specific amount of mana, then when you go to a different hotbar slot, the extra mana goes away.
, but it just doesnt work. there are no errors though.
[doublepost=1617304728,1616192958][/doublepost]bump
Code:
on hotbar switch:
loop all entities:
loop-entity is holding blaze rod named "&6magic stick" with lore "&6wow so op":
add 400 to {maxmana.%loop-entity%}
[doublepost=1617304728,1616192958][/doublepost]bump