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

@ -70,14 +70,6 @@ abstract class BaseInventory implements Inventory{
return $this->title;
}
/**
* Returns the Minecraft PE inventory type used to show the inventory window to clients.
* @return int
*/
public function getNetworkType() : int{
return ContainerIds::NONE;
}
/**
* Returns the size of the inventory.
* @return int