mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Added automatic/manual RakLib IP address, block addresses when exceptions are thrown
This commit is contained in:
@@ -636,6 +636,8 @@ class Server{
|
||||
if($this->logger instanceof MainLogger){
|
||||
$this->logger->logException($e);
|
||||
}
|
||||
|
||||
$this->mainInterface->blockAddress($address, 600);
|
||||
}
|
||||
//TODO: add raw packet events
|
||||
}
|
||||
|
Reference in New Issue
Block a user