I get this error when reloading this skript:
Can't understand this condition: 'fish state is CAUGHT_FISH' (skilllevelling.sk, line 664: if fish state is CAUGHT_FISH:')
This is my code:
Can't understand this condition: 'fish state is CAUGHT_FISH' (skilllevelling.sk, line 664: if fish state is CAUGHT_FISH:')
This is my code:
Code:
on fishing:
if fish state is CAUGHT_FISH:
chance of 70%:
#play sound "entity.experience_orb.pickup" with volume 0.5 to the player
skills__play_xp_sound(player)
add 1 to {fishingxp::%player%}
set action bar of player to "&f &3Fishing EXP &3%{fishingxp::%player%}%&7/&b%{fishingmax::%player%}% &7&o(+1)"