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

add fix to AFTER_PLAYER_CHANGE_WORLD #2456

Open
wants to merge 1 commit into
base: 1.19.2
Choose a base branch
from

Conversation

CalebBassham
Copy link

Adds a workaround to still call the AFTER_PLAYER_CHANGE_WORLD event when a player is moving from the end to the overworld.

@apple502j
Copy link
Contributor

Not sure if this is the best idea, two different things should not trigger the same event.

@CalebBassham
Copy link
Author

I mean, as long as the event is only called once when a player changed worlds, I would say that this is fine. I would not expect the average person using the api to expect that AFTER_PLAYER_CHANGE_WORLD does not apply to changing worlds from the end to the overworld.

@Technici4n
Copy link
Member

If the player is killed and resurrected, wouldn't some sort of player resurrect event make more sense for this?

@CalebBassham
Copy link
Author

They aren't really killed. They are just removed from all worlds while they are on the credits screen.

@Technici4n Technici4n requested a review from a team September 17, 2022 08:18
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.

3 participants