Skip to content

Apply wspeed flags immediately on player login inside residence#1446

Open
RICE0707 wants to merge 2 commits into
Zrips:masterfrom
BrilliantTeam:fix/wspeed-flags-on-login
Open

Apply wspeed flags immediately on player login inside residence#1446
RICE0707 wants to merge 2 commits into
Zrips:masterfrom
BrilliantTeam:fix/wspeed-flags-on-login

Conversation

@RICE0707

@RICE0707 RICE0707 commented Jun 17, 2026

Copy link
Copy Markdown

wspeed1/wspeed2 flags were not applied when a player logged in while
already inside a flagged residence. The async ResidenceChangedEvent chain
(callAsync -> runAtLocation) races with Minecraft's login ability packet,
causing the speed to be overridden. Fix by directly setting walk speed in
the synchronous delayed task after handleNewLocation.

Fixes #1444

RICE0707 added 2 commits June 17, 2026 18:46
wspeed1/wspeed2 flags were not applied when a player logged in while
already inside a flagged residence. The async ResidenceChangedEvent chain
(callAsync -> runAtLocation) races with Minecraft's login ability packet,
causing the speed to be overridden. Fix by directly setting walk speed in
the synchronous delayed task after handleNewLocation.

Fixes Zrips#1444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wspeed1 and wspeed2 flags do not apply when player logs into the server inside a residence

1 participant