With mcMMO installed, you may be unable to fish in the same area when you are told "You sense that there might not be many fish left in this area.".
The following code is implemented, but it is triggered even if you cannot fish.
How can I modify the code so that it is not triggered?
Posted by: 2288 from the skUnity Discord. View the thread on skUnity Discord here
The following code is implemented, but it is triggered even if you cannot fish.
How can I modify the code so that it is not triggered?
code_language.skript:
vb
on fish with priority monitor:
if fish state = CAUGHT FISH:
set {_material} to item of fishing caught entity
#send "&f&l[&a&l!&f&l] &f&l%player% &a&lが &f&l%{_material}% &a&lを釣り上げた!" to all players
if {_material} is not cod or tropical fish or salmon or pufferfish:
send "&f&l[&a&l!&f&l] &aCaught nothing but fish!" to player
else if {fish_size.%player's uuid%} is null:
send "&f&l[&a&l!&f&l] &a&lI didn't catch it..." to player
else:
send "&a&l%{_material}% was caught!" to player
Posted by: 2288 from the skUnity Discord. View the thread on skUnity Discord here