mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Drop pocketmine/spl
This commit is contained in:
@@ -151,7 +151,7 @@ class InventoryManager{
|
||||
return;
|
||||
}
|
||||
}
|
||||
throw new \UnsupportedOperationException("Unsupported inventory type");
|
||||
throw new \LogicException("Unsupported inventory type");
|
||||
}
|
||||
|
||||
/** @phpstan-return ObjectSet<ContainerOpenClosure> */
|
||||
|
@@ -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{
|
||||
|
Reference in New Issue
Block a user