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

MultiVerse compatibility for onPlayerRespawn event #6

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

Conversation

koderiter
Copy link

I Set Event Priority for OnPlayerRespawn to EventPriority.LOWSET to allow compatibility with MultiVerse. MultiVerse event priority is set to EventPriority.LOW and therefore SimpleSpawn takes priority over MultiVerse.

This causes a problem when dealing with multiple worlds, when you die in world B instead of respawning in world B you respawn at your home location in World A.

This is an easy way to allow for MultiVerse onPlayerRespawn to set the players Respawn point instead of SimapleSpawn.

…ow compatibility with MultiVerse. MultiVerse event priority is set to EventPriority.LOW and therefore SimpleSpawn takes priority over MultiVerse.
@ellbristow
Copy link
Owner

Thanks for teh pull... I will implement this but I will handle it slightly differently. I want the higher priority for dominance over other plugins, but i will build in a check for MultiVerse and allow it to keep control

I'll add this to SimpleSpawnLite-Home too

@koderiter
Copy link
Author

Sounds, great! Thanks for a great plugin.

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.

2 participants