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

Make EffTeleport do teleports asynchronously on Paper #3478

Merged
merged 7 commits into from
Nov 28, 2020
Merged

Make EffTeleport do teleports asynchronously on Paper #3478

merged 7 commits into from
Nov 28, 2020

Conversation

JRoy
Copy link
Contributor

@JRoy JRoy commented Oct 18, 2020

Description

This PR utilizes PaperLib (a first party compatibility layer to make the same code use Paper features on paper and default to spigot spigot servers) to run chunk loads caused by teleport on another thread. This pull request will have no effects on Spigot server and still works as intended

Please see commits and their descriptions for more detail on what this PR changes


Target Minecraft Versions: N/A
Requirements: N/A
Related Issues: #3142, #3355

JRoy added 2 commits October 18, 2020 15:03
* Added shadow plugin to shade and relocate dependencies
* Added central variable for paper version
* Added PaperLib as a shaded/relocated dependency
@JRoy JRoy changed the base branch from master to dev-2.5 October 19, 2020 11:41
ShaneBeee
ShaneBeee previously approved these changes Nov 5, 2020
Copy link
Contributor

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok after much discussion with JRoy Im approving this... BUT I still want at least @bensku to weigh in on this, and possibly @Pikachu920 and @FranKusmiruk

@ShaneBeee ShaneBeee added 2.5 enhancement Feature request, an issue about something that could be improved, or a PR improving something. labels Nov 5, 2020
@ShaneBeee ShaneBeee merged commit 4908f51 into SkriptLang:dev-2.5 Nov 28, 2020
FranKusmiruk pushed a commit that referenced this pull request Mar 4, 2021
* Update gradle buildscript

* Added shadow plugin to shade and relocate dependencies
* Added central variable for paper version
* Added PaperLib as a shaded/relocated dependency

* Use PaperLib in teleport effect to avoid chunk loads

* Fix regression for PlayerRespawnEvent and cleanup code

* Update build.gradle

change 1.16.3 -> 1.16.4

Co-authored-by: Shane Bee <shanebolenback@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants