Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC orientation fixes #110

Merged
merged 7 commits into from
Aug 5, 2023
Merged

NPC orientation fixes #110

merged 7 commits into from
Aug 5, 2023

Conversation

DasBabyPixel
Copy link
Contributor

First commit removes unnecessary check if the player orientation changed (bukkit)
Second commit should fix NPC orientation when a player moves on bukkit and minestom
Third commit should fix the same NPC orientation bug from #108 on minestom
Haven't been able to test any of the commits yet and probably won't be able to do so until late afternoon/evening.
Just wanted to make this PR to remove redundant work if any of you wanted to start working.

@derklaro derklaro linked an issue Aug 3, 2023 that may be closed by this pull request
@derklaro
Copy link
Collaborator

derklaro commented Aug 3, 2023

I just cleaned the code in this PR up a bit - it looks good to me just by looking at the code, let me know about your test results and I will merge changes :)

@DasBabyPixel
Copy link
Contributor Author

Noticed that on minestom the npc won't appear until the player moves. Also fixed that in the last commit
Never mind the commits that I undid, intelij autoformat screwed me over.
Tested on bukkit and minestom and everything worked.

@derklaro derklaro merged commit fc9d497 into juliarn:v3 Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPC won't look at player until player moves
2 participants