mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Moved getNetworkType() to ContainerInventory since it's not used anywhere else
This commit is contained in:
@ -54,4 +54,10 @@ abstract class ContainerInventory extends BaseInventory{
|
||||
$who->dataPacket($pk);
|
||||
parent::onClose($who);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Minecraft PE inventory type used to show the inventory window to clients.
|
||||
* @return int
|
||||
*/
|
||||
abstract public function getNetworkType() : int;
|
||||
}
|
Reference in New Issue
Block a user