mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Drop pocketmine/spl
This commit is contained in:
parent
e34364412b
commit
e131c2cefa
@ -47,7 +47,6 @@
|
|||||||
"pocketmine/raklib": "^0.14.2",
|
"pocketmine/raklib": "^0.14.2",
|
||||||
"pocketmine/raklib-ipc": "^0.1.0",
|
"pocketmine/raklib-ipc": "^0.1.0",
|
||||||
"pocketmine/snooze": "^0.3.0",
|
"pocketmine/snooze": "^0.3.0",
|
||||||
"pocketmine/spl": "dev-master",
|
|
||||||
"ramsey/uuid": "^4.1",
|
"ramsey/uuid": "^4.1",
|
||||||
"webmozart/path-util": "^2.3"
|
"webmozart/path-util": "^2.3"
|
||||||
},
|
},
|
||||||
|
42
composer.lock
generated
42
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "9b3c01e7b850d45218b81a436f463011",
|
"content-hash": "94aedb2c8c81dd851b775b7b4e1467cb",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/json-comment",
|
"name": "adhocore/json-comment",
|
||||||
@ -798,43 +798,6 @@
|
|||||||
},
|
},
|
||||||
"time": "2021-11-01T20:50:08+00:00"
|
"time": "2021-11-01T20:50:08+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "pocketmine/spl",
|
|
||||||
"version": "dev-master",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/pmmp/SPL.git",
|
|
||||||
"reference": "b7a8904f912c1f6d38ad867ff1120614ccb80171"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/pmmp/SPL/zipball/b7a8904f912c1f6d38ad867ff1120614ccb80171",
|
|
||||||
"reference": "b7a8904f912c1f6d38ad867ff1120614ccb80171",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": "^7.2 || ^8.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpstan/phpstan": "^0.12.8"
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"classmap": [
|
|
||||||
"./src"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"LGPL-3.0"
|
|
||||||
],
|
|
||||||
"description": "Standard library files required by PocketMine-MP and related projects",
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/pmmp/SPL/issues",
|
|
||||||
"source": "https://github.com/pmmp/SPL/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2021-01-15T15:19:34+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "ramsey/collection",
|
"name": "ramsey/collection",
|
||||||
"version": "1.2.2",
|
"version": "1.2.2",
|
||||||
@ -3493,8 +3456,7 @@
|
|||||||
"aliases": [],
|
"aliases": [],
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"stability-flags": {
|
"stability-flags": {
|
||||||
"pocketmine/bedrock-protocol": 20,
|
"pocketmine/bedrock-protocol": 20
|
||||||
"pocketmine/spl": 20
|
|
||||||
},
|
},
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
|
@ -151,7 +151,7 @@ class InventoryManager{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new \UnsupportedOperationException("Unsupported inventory type");
|
throw new \LogicException("Unsupported inventory type");
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @phpstan-return ObjectSet<ContainerOpenClosure> */
|
/** @phpstan-return ObjectSet<ContainerOpenClosure> */
|
||||||
|
@ -536,8 +536,6 @@ class NetworkSession{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Instructs the remote client to connect to a different server.
|
* Instructs the remote client to connect to a different server.
|
||||||
*
|
|
||||||
* @throws \UnsupportedOperationException
|
|
||||||
*/
|
*/
|
||||||
public function transfer(string $ip, int $port, string $reason = "transfer") : void{
|
public function transfer(string $ip, int $port, string $reason = "transfer") : void{
|
||||||
$this->tryDisconnect(function() use ($ip, $port, $reason) : void{
|
$this->tryDisconnect(function() use ($ip, $port, $reason) : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user