I'm using PureEntitiesX and are there any events like PlayerMoveEvent for entity? I want to stop entity from moving for another reason! Thanks
https://github.com/RevivalPMMP/Pure...7fba308be19f6f16e0a9/resources/config.yml#L52 Try increasing the value to like 1000000?
Or perhaps try this: PHP: public function onMove(\pocketmine\event\entity\EntityMotionEvent $e) { ($e->getEntity() instanceof \pocketmine\Player) ? return : $e->setCancelled();}