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

@ -35,7 +35,6 @@ use pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket;
use pocketmine\network\mcpe\protocol\MobEquipmentPacket;
use pocketmine\network\mcpe\protocol\PlayerHotbarPacket;
use pocketmine\network\mcpe\protocol\types\ContainerIds;
use pocketmine\network\mcpe\protocol\types\WindowTypes;
use pocketmine\Player;
use pocketmine\Server;
@ -54,10 +53,6 @@ class PlayerInventory extends BaseInventory{
parent::__construct($player);
}
public function getNetworkType() : int{
return WindowTypes::INVENTORY;
}
public function getName() : string{
return "Player";
}