Added EntityIds interface with constants

This commit is contained in:
Dylan K. Taylor
2017-10-19 15:43:55 +01:00
parent 2db13bd114
commit 2b22d5d8cc
11 changed files with 129 additions and 10 deletions

View File

@ -33,7 +33,7 @@ use pocketmine\network\mcpe\protocol\EntityEventPacket;
use pocketmine\Player;
class Squid extends WaterAnimal{
const NETWORK_ID = 17;
const NETWORK_ID = self::SQUID;
public $width = 0.95;
public $height = 0.95;