Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Player teleport does not load chunks #390

Open
2 tasks done
ytnoos opened this issue Mar 28, 2022 · 0 comments
Open
2 tasks done

Player teleport does not load chunks #390

ytnoos opened this issue Mar 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ytnoos
Copy link
Contributor

ytnoos commented Mar 28, 2022

Observed Behavior

Teleporting a player using Player#teleport in an unloaded chunk will get the player stuck in the same position for a while.

Expected Behavior

The teleport should load the chunk immediately before teleporting the player.

Steps To Reproduce

Set 'view-distance: 1' in your spigot.yml. Create a plugin that calls Player#telport into an unloaded chunk but in the same player's world.
Video showing the bug

Plugin List

SlimeWorldManager, spark, ViaVersion, ProtocolLib, ViaRewind, LuckPerms, HolographicDisplays, BedwarsReforged

Server Version

This server is running NachoSpigot version git-NachoSpigot-"0a3a65e" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT)
You are running the latest version

Other

I've tested using SportPaper and Paper and the issue didn't happen. By looking deeply into the code I found out that Nacho never implemented this patch. I tried to apply that patch to Nacho but the issue still persists.
Having view-distance > 1 will load chunks correctly on teleport.

Agreements

  • You were able to find this issue on the latest version of NachoSpigot.
  • You have confirmed that there aren’t any issues open regarding this bug.
@ytnoos ytnoos added the bug Something isn't working label Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant