Closed Tofpu closed 2 years ago
Still receiving the error when the arrow hits the ground player instead of the player ground, you'll have to do the same for line 297.
Still receiving the error when the arrow hits the ground instead of a player, you'll have to do the same for line 297.
Got it! Could you by any chance tell me what you did to get that error?
> when the arrow hits the ground instead of a player, When the arrow hits a player.
~> when the arrow hits the ground instead of a player,~ When the arrow hits a player.
Aha, that edit makes sense now. I appreciate the pointers!
When it hits a player there is no error in console however there still is no sound effect.
When it hits a player there is no error in console however there still is no sound effect.
Hmm, I thought that was to be intended lol, anyway I checked the code further and it seems like the d, e and f values are not being updated, since an entity was involved.
I'm not very familiar with the server's codebase but I'm thinking providing the involved entity would do it. I'll test the theory in a few moments
Edit: That fixed it, awesome!
Thanks, Tofpu for this PR! :)
Description
Please provide a detailed description of the changes you have made.
Fixes/Adds # (issue)
How has this been tested?
/summon
commandHow have you tested the changes you have made?
Checklist: