Mockingbird icon indicating copy to clipboard operation
Mockingbird copied to clipboard

PlayerInputPacket

Open thehexmor opened this issue 4 years ago • 3 comments

Hey . for some reason when i installed your Plugin The PlayerInputPacket is no longer working on DataPacketReceiveEvent . when im using $event->getPakcet()->getPid() the Packets Id Is Never as same as PlayerInputPacket . but when i remove your plugin everything will work fine .

thehexmor avatar Oct 24 '21 16:10 thehexmor

That is because the event is cancelled to avoid debug spam in the console

ethaniccc avatar Oct 24 '21 17:10 ethaniccc

is there any ways to fix ?

thehexmor avatar Oct 25 '21 01:10 thehexmor

Assuming you know what you're doing, you can remove this condition: https://github.com/ethaniccc/Mockingbird/blob/stable/src/ethaniccc/Mockingbird/listener/MockingbirdListener.php#L51-L53

ethaniccc avatar Oct 27 '21 13:10 ethaniccc