Hi , there are a lot of slabs-stairs in my lobby and is impossibile to walk cause player moved wrongly bug ... so, someone know how to disabile player movement check in Player.php ? Already tried aliuly script: https://github.com/alejandroliu/bad-plugins/blob/master/tweaks/playerHack.php Already tried to compare PM-soft' s processMovement function in Player.php with PM 1.6' s processMovement function in its Player.php Please , i need help thanks
You can delete the lines that checks/reverts invalid movements, but make sure you know what you're doing, you could remove something important.
PHP: if($revert){ $this->lastX = $from->x; $this->lastY = $from->y; $this->lastZ = $from->z; $this->lastYaw = $from->yaw; $this->lastPitch = $from->pitch; $this->sendPosition($from, $from->yaw, $from->pitch, 1); $this->forceMovement = new Vector3($from->x, $from->y, $from->z); This?