Closed Kr4ken-9 closed 4 years ago
We could try and use the item block one as they should have the same behaviour
Fixed in https://github.com/Kr4ken-9/NewEssentials/commit/21057bad23fab9591b91e2244872b08993634702
I looked at how items are dropped and I realized I am trying to teleport to a transform and not the point where the raycast intersects... I think I was tired when I wrote it lmao. It's fixed, thanks for having me look at items
Lol nice
/jump works for jumping to any type of object except the ground. It will say you are not looking at anything, which means Physics.Raycast returned false or hit.transform was null.
99% sure it's a layermask issue. Looking at Unturned's code we are using the correct layermask for detecting the ground though. Pretty frustrating