Hey, im trying to teleport players to another dimension when right clicking a sign, when the first guy right clicks the sign, its fine, he is teleported and everything, but after that, every time someone tries to use it, he gets an internal server error, BUT the guy who used it the first time can still use it! i have no idea what to do! the error doesn't even point to the dimension teleport!
(i know its the dimension teleport because when i comment it out it doesn't crash).
Code of the class: https://gist.github.com/DrPiggy/c9a21adbc9f879a983ff41bea5e2d21a
Error that shows up in the server: https://gist.github.com/DrPiggy/9dc34110ead5bc28e31acdd303dd3dc6
Error in client: https://gist.github.com/DrPiggy/ce68b357f1ef07df8415f9a37840947f