mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Added capability to unblock addresses without a restart
This commit is contained in:
@ -171,4 +171,10 @@ class Network{
|
||||
$interface->blockAddress($address, $timeout);
|
||||
}
|
||||
}
|
||||
|
||||
public function unblockAddress(string $address){
|
||||
foreach($this->advancedInterfaces as $interface){
|
||||
$interface->unblockAddress($address);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user