I have been stuck with one issue for a while now, and it is really starting to get on my nerves. I am coding a custom anti cheat with Skript and everything is working fine, but I have this issue with reach detector where if you have ranged weapons, such as a bow, it would ban you. I fixed this for bows, snowballs and eggs, but I can not fix it for fishing rods. Here is the code for the reach detector:
https://pastebin.com/4SqrEYYR
I have tried the if projectile is a ... method, but it still does not work. I do not get any errors when I reload the script but when I use a fishing rod against a mob / entity it still bans me.
I hope you can help me as quick as possible and I hope you all have a lovely day / night.
Thanks in advance,
Jay.
https://pastebin.com/4SqrEYYR
I have tried the if projectile is a ... method, but it still does not work. I do not get any errors when I reload the script but when I use a fishing rod against a mob / entity it still bans me.
I hope you can help me as quick as possible and I hope you all have a lovely day / night.
Thanks in advance,
Jay.