mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Renamed BadPacketException -> PacketHandlingException
this better describes the intent, instead of just vaguely describing a packet as 'bad'.
This commit is contained in:
@ -32,7 +32,7 @@ interface RawPacketHandler{
|
||||
public function getPattern() : string;
|
||||
|
||||
/**
|
||||
* @throws BadPacketException
|
||||
* @throws PacketHandlingException
|
||||
*/
|
||||
public function handle(AdvancedNetworkInterface $interface, string $address, int $port, string $packet) : bool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user