LookingAt condition with entity type pitching errors
Open
LookingAt condition with entity type pitching errors
Summary
The LookingAt condition appears to be broken and pitches errors.
Steps to reproduce
Include the following mob file and skill file and spawn a frienderman. If LookingAt is not intended to work with mythic mobs, change the type to a vanilla entity, such as ENDERMAN, for the same result. https://pastebin.com/CpYmVfE2 https://pastebin.com/cbE98EJA
Current behavior
When using the LookingAt condition, java exception errors are printed to the debug console. When type is set to an entity, the condition seems to always evaluate as false. When type is a block it can return true, but the error messages are still printed.
Intended correct behavior
The LookingAt condition should evaluate to true when the player is looking at the specified type, without errors. Ideally this would include mythic mobs types.
Server log file
Debug log snippet
Proposed fixes
This may be some kind of threading problem, which is not my area of expertise.
added Bug Verified Issue labels