https://github.com/pmmp/PocketMine-...7d6908b7e0133/src/pocketmine/Player.php#L3222 explains it quite well. Using dispatchCommand when an API is available is very inefficient and considered bad practise by many.