MultiVerse compatibility for onPlayerRespawn event#6
Open
koderiter wants to merge 1 commit intoellbristow:masterfrom
Open
MultiVerse compatibility for onPlayerRespawn event#6koderiter wants to merge 1 commit intoellbristow:masterfrom
koderiter wants to merge 1 commit intoellbristow:masterfrom
Conversation
…ow compatibility with MultiVerse. MultiVerse event priority is set to EventPriority.LOW and therefore SimpleSpawn takes priority over MultiVerse.
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 |
Author
|
Sounds, great! Thanks for a great plugin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.