Hey, Im trying to replace the default player class with a custom player class through PlayerCreationEvent. For some reason I can't get this to work. Here is the code: PHP: function onPlayerCreate(PlayerCreationEvent $event) { $event->setPlayerClass(GamePlayer::class);} I get this error: Code: Stopped interface pocketmine\network\RakLibInterface due to Argument 1 passed to Samueljh1\DarkHammer\DHSkywars\Game\Player\GamePlayer::__construct() must be an instance of pocketmine\Player, instance of pocketmine\network\RakLibInterface given, called in phar:///Users/samuel/SkyWars/PocketMine-MP.phar/src/pocketmine/network/RakLibInterface.php on line 126 and defined This same error also happened when trying to pass a new Player object using the event variables into the custom player class constructor. Any ideas?