diff --git a/src/pocketmine/entity/Arrow.php b/src/pocketmine/entity/Arrow.php index 1fbba54786..b09a0c32c1 100644 --- a/src/pocketmine/entity/Arrow.php +++ b/src/pocketmine/entity/Arrow.php @@ -32,7 +32,6 @@ class Arrow extends Projectile{ const NETWORK_ID = 80; public $width = 0.5; - public $length = 0.5; public $height = 0.5; protected $gravity = 0.05; @@ -98,4 +97,4 @@ class Arrow extends Projectile{ parent::spawnTo($player); } -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index a6afc6e1cb..9856ed4fd4 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -296,8 +296,6 @@ abstract class Entity extends Location implements Metadatable{ public $height; /** @var float */ public $width; - /** @var float */ - public $length; /** @var float */ protected $baseOffset = 0.0; diff --git a/src/pocketmine/entity/FallingSand.php b/src/pocketmine/entity/FallingSand.php index 93a4bdedf6..33f34211d7 100644 --- a/src/pocketmine/entity/FallingSand.php +++ b/src/pocketmine/entity/FallingSand.php @@ -38,7 +38,6 @@ class FallingSand extends Entity{ const NETWORK_ID = 66; public $width = 0.98; - public $length = 0.98; public $height = 0.98; protected $baseOffset = 0.49; diff --git a/src/pocketmine/entity/Human.php b/src/pocketmine/entity/Human.php index 121746bc8f..6aadd36e01 100644 --- a/src/pocketmine/entity/Human.php +++ b/src/pocketmine/entity/Human.php @@ -59,7 +59,6 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{ protected $rawUUID; public $width = 0.6; - public $length = 0.6; public $height = 1.8; public $eyeHeight = 1.62; diff --git a/src/pocketmine/entity/Item.php b/src/pocketmine/entity/Item.php index 93dd238dfb..a11252fb37 100644 --- a/src/pocketmine/entity/Item.php +++ b/src/pocketmine/entity/Item.php @@ -46,7 +46,6 @@ class Item extends Entity{ protected $item; public $width = 0.25; - public $length = 0.25; public $height = 0.25; protected $baseOffset = 0.125; diff --git a/src/pocketmine/entity/PrimedTNT.php b/src/pocketmine/entity/PrimedTNT.php index 2530ee5acd..a5d721261d 100644 --- a/src/pocketmine/entity/PrimedTNT.php +++ b/src/pocketmine/entity/PrimedTNT.php @@ -35,7 +35,6 @@ class PrimedTNT extends Entity implements Explosive{ const NETWORK_ID = 65; public $width = 0.98; - public $length = 0.98; public $height = 0.98; protected $baseOffset = 0.49; @@ -129,4 +128,4 @@ class PrimedTNT extends Entity implements Explosive{ parent::spawnTo($player); } -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Snowball.php b/src/pocketmine/entity/Snowball.php index 4f95eb518c..dbc602ed95 100644 --- a/src/pocketmine/entity/Snowball.php +++ b/src/pocketmine/entity/Snowball.php @@ -32,7 +32,6 @@ class Snowball extends Projectile{ const NETWORK_ID = 81; public $width = 0.25; - public $length = 0.25; public $height = 0.25; protected $gravity = 0.03; @@ -72,4 +71,4 @@ class Snowball extends Projectile{ parent::spawnTo($player); } -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Squid.php b/src/pocketmine/entity/Squid.php index 4b9e969ba0..3d7508b622 100644 --- a/src/pocketmine/entity/Squid.php +++ b/src/pocketmine/entity/Squid.php @@ -36,7 +36,6 @@ class Squid extends WaterAnimal{ const NETWORK_ID = 17; public $width = 0.95; - public $length = 0.95; public $height = 0.95; /** @var Vector3 */ diff --git a/src/pocketmine/entity/Villager.php b/src/pocketmine/entity/Villager.php index 3bd32d0c02..539ea791ea 100644 --- a/src/pocketmine/entity/Villager.php +++ b/src/pocketmine/entity/Villager.php @@ -38,7 +38,6 @@ class Villager extends Creature implements NPC, Ageable{ const NETWORK_ID = 15; public $width = 0.6; - public $length = 0.6; public $height = 1.8; public function getName() : string{ diff --git a/src/pocketmine/entity/Zombie.php b/src/pocketmine/entity/Zombie.php index cf1a5631ea..e1e74b5c03 100644 --- a/src/pocketmine/entity/Zombie.php +++ b/src/pocketmine/entity/Zombie.php @@ -33,7 +33,6 @@ class Zombie extends Monster{ const NETWORK_ID = 32; public $width = 0.6; - public $length = 0.6; public $height = 1.8; public function getName() : string{