Drop pocketmine/spl

This commit is contained in:
Dylan K. Taylor
2021-11-02 16:08:29 +00:00
parent e34364412b
commit e131c2cefa
4 changed files with 3 additions and 44 deletions

View File

@@ -151,7 +151,7 @@ class InventoryManager{
return;
}
}
throw new \UnsupportedOperationException("Unsupported inventory type");
throw new \LogicException("Unsupported inventory type");
}
/** @phpstan-return ObjectSet<ContainerOpenClosure> */

View File

@@ -536,8 +536,6 @@ class NetworkSession{
/**
* Instructs the remote client to connect to a different server.
*
* @throws \UnsupportedOperationException
*/
public function transfer(string $ip, int $port, string $reason = "transfer") : void{
$this->tryDisconnect(function() use ($ip, $port, $reason) : void{