-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Describe the bug
In the new version of the plugin, the server still freezes for 1-2 seconds when a player logs in.
https://youtu.be/m6o44d2ZyPo?si=GR5ip7dpqjtz1cUU
Also, when switching to spectator mode, the game may freeze.
https://youtu.be/ZYywXDst5yA?si=7IuPtqdeZWaYEguD
To Reproduce
Try to put a command block that constantly spawns any moving object and after the player enters it should hang for 1-2 seconds
Example:
summon arrow ~~10~
kill @e [type=arrow,r=2]
Try switching the player to spectator mode at distant coordinates
Expected behavior
So that the world no longer lags when a player enters a server or switches to spectator mode.
Screenshots
https://youtu.be/m6o44d2ZyPo?si=GR5ip7dpqjtz1cUU
https://youtu.be/ZYywXDst5yA?si=7IuPtqdeZWaYEguD
Platform
Windows 11
BDS Version
1.21.84
LeviLamina Version
1.3.1
Version
0.7.0
Additional context
I have already discussed this bug here:
GlacieTeam/ProtocolLib#2
GlacieTeam/ProtocolLib#4