mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Network: Deprecate some garbage
Deprecations on a patch version breaks release protocol, but I don't care at this point. Nobody should have been using this shit anyway.
This commit is contained in:
@ -84,10 +84,14 @@ class Network{
|
||||
|
||||
public function processInterfaces(){
|
||||
foreach($this->interfaces as $interface){
|
||||
$this->processInterface($interface);
|
||||
$interface->process();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @param SourceInterface $interface
|
||||
*/
|
||||
public function processInterface(SourceInterface $interface) : void{
|
||||
$interface->process();
|
||||
}
|
||||
|
Reference in New Issue
Block a user