Expected result: What were you expecting to happen?
Actual result: What actually happened?
Upon right clicking or even left clicking an entity, the event is not triggered.
Example code used:
public function testPacket(PlayerInteractEntityEvent $event):void{
$player = $event->getPlayer();
Server::getInstance()->broadcastMessage("§r§aPlayerIntetactEntityEvent triggered!");
}
Issue description
Upon right clicking or even left clicking an entity, the event is not triggered.
Example code used: public function testPacket(PlayerInteractEntityEvent $event):void{ $player = $event->getPlayer(); Server::getInstance()->broadcastMessage("§r§aPlayerIntetactEntityEvent triggered!"); }