Moved getNetworkType() to ContainerInventory since it's not used anywhere else

This commit is contained in:
Dylan K. Taylor
2017-09-19 19:57:22 +01:00
parent 1fb6d12a6b
commit 90fb3c5e12
4 changed files with 6 additions and 19 deletions

View File

@ -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;
}