pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.28k stars 1.56k forks source link

Spectator mode weird behavior when going through blocks #5722

Closed NickteeChunky closed 1 year ago

NickteeChunky commented 1 year ago

Issue description

Steps to reproduce the issue

  1. execute /gamemode spectator
  2. move through a block

OS and versions

holding jump is what causes it to keep repeating https://streamable.com/gsrs4p

dktapps commented 1 year ago

Looks like the client-side "push out of blocks" physics is kicking in when it shouldn't. Not sure why it would be doing that though.

dadodasyra commented 1 year ago

It seems that the blockCollision ability still works though. Just someone told me you lose the flight state when going upward with it, don't know if it's related.

dktapps commented 1 year ago

Yeah, I haven't been able to figure out why it's behaving this way. If anyone finds a way to fix it, please let me know or send a PR.

MINTEDCLICKS commented 1 year ago

i am also suffering from this issue