Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add work-around for nonsensical teleport events from Spigot. #152
On using a nether or end portal, the player is tagged with transient metadata recording the details of the teleport event for
When the subsequent
There are two
This fixes #131, et. al.
Thanks for looking into this and providing a pull request with a workaround, and particularly for posting a detailed bug report over on the Spigot issue tracker. It is slightly interesting to see it's much the same bug as popped up a few major versions back, as expected, with a mismatched coordinate / world combination sent out in teleport events.
However, I very much prefer to avoid adding in kludgy workarounds to this plugin in order to address temporary Spigot/CraftBukkit bugs. This is absolutely nothing against your code or methods, it's just kludgy by nature of what's needed to work around this sort of incorrect information being sent out through events, and only temporarily needed since it should hopefully eventually be fixed on the other end.
Is it possible to compile this changes and make it available as a non-default build? I want to use the world border but with this bug (and I know is not world border fault) I rather not use, but in the other hand I can only open my server after this spigot bug is corrected.
Thanks in advance.