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

@ -32,7 +32,7 @@ use pocketmine\network\mcpe\protocol\LevelEventPacket;
use pocketmine\Player;
class PrimedTNT extends Entity implements Explosive{
const NETWORK_ID = 65;
const NETWORK_ID = self::TNT;
public $width = 0.98;
public $height = 0.98;