How would I fix the teleporting back issue? It is basically when you are lagging, it teleports you back. It is very annoying to me. Code ideas?
You can disable or edit the check movement function at Player.php, Player_32bit.php and Player_64bit.php in src. Please find the code PHP: if($this->isSurvival()){ if(!$revert and !$this->isSleeping()){ if($diff > 0.0625){ $revert = true; $this->server->getLogger()->warning($this->getServer()->getLanguage()->translateString("pocketmine.player.invalidMove", [$this->getName()])); } } } If deleted this code, it won't check movement. and maybe 0.0625 is speed. if you edit this value, you can change checking speed.