From ee72ec2b274d72b335e69ffa9e253544bf781758 Mon Sep 17 00:00:00 2001 From: ArkQuark <74979909+ArkQuark@users.noreply.github.com> Date: Fri, 3 Mar 2023 19:45:29 +0300 Subject: [PATCH] lenght --- src/structure/Structure.php | 6 +++--- src/structure/stronghold/StrongholdLibraryStructure.php | 2 +- src/structure/stronghold/StrongholdPortalRoomStructure.php | 2 +- src/structure/village/SmallFarmStructure.php | 4 ++-- src/structure/village/SmallHouseStructure.php | 4 ++-- src/structure/village/VillageLibraryStructure.php | 4 ++-- src/structure/village/WoodHutStructure.php | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/structure/Structure.php b/src/structure/Structure.php index b6e67316..e95665d0 100644 --- a/src/structure/Structure.php +++ b/src/structure/Structure.php @@ -10,13 +10,13 @@ abstract class Structure{ const LEVEL_RSV1 = 1; private static $structure, $tmpStructure; private $map; - public $api, $pm, $width, $lenght, $name; + public $api, $pm, $width, $length, $name; - public function __construct($width = 0, $lenght = 0, $name = "Unknown", $map = []){ + public function __construct($width = 0, $length = 0, $name = "Unknown", $map = []){ $this->pm = ServerAPI::request(); $this->api = $this->pm->api; $this->width = $width; - $this->lenght = $lenght; + $this->length = $length; $this->name = $name; $this->map = $map; } diff --git a/src/structure/stronghold/StrongholdLibraryStructure.php b/src/structure/stronghold/StrongholdLibraryStructure.php index d8f4f125..2fcc0def 100644 --- a/src/structure/stronghold/StrongholdLibraryStructure.php +++ b/src/structure/stronghold/StrongholdLibraryStructure.php @@ -2,7 +2,7 @@ class StrongholdLibraryStructure{ public static $width = 14; - public static $lenght = 15; + public static $length = 15; public static $tmpStructure; public static $structure = [ -1 => [ diff --git a/src/structure/stronghold/StrongholdPortalRoomStructure.php b/src/structure/stronghold/StrongholdPortalRoomStructure.php index 6b160caf..ed6ea9b3 100644 --- a/src/structure/stronghold/StrongholdPortalRoomStructure.php +++ b/src/structure/stronghold/StrongholdPortalRoomStructure.php @@ -2,7 +2,7 @@ class StrongholdPortalRoomStructure{ public static $width = 11; - public static $lenght = 16; + public static $length = 16; public static $tmpStructure = []; public static $structure = [ -1 => [ diff --git a/src/structure/village/SmallFarmStructure.php b/src/structure/village/SmallFarmStructure.php index 5a87db5d..3730a90b 100644 --- a/src/structure/village/SmallFarmStructure.php +++ b/src/structure/village/SmallFarmStructure.php @@ -2,7 +2,7 @@ class SmallFarmStructure extends Structure{ public $width = 7; - public $lenght = 9; + public $length = 9; public $name = "Small Farm"; private static $tmpStructure; private static $structure = [ @@ -94,7 +94,7 @@ class SmallFarmStructure extends Structure{ } public function __construct(){ - parent::__construct($this->width, $this->lenght, $this->name, $this->map); + parent::__construct($this->width, $this->length, $this->name, $this->map); } public function build($level, $x, $y, $z, $structure = 0){ diff --git a/src/structure/village/SmallHouseStructure.php b/src/structure/village/SmallHouseStructure.php index ce869577..2e7502a5 100644 --- a/src/structure/village/SmallHouseStructure.php +++ b/src/structure/village/SmallHouseStructure.php @@ -2,7 +2,7 @@ class SmallHouseStructure extends Structure{ public $width = 5; - public $lenght = 5; + public $length = 5; public $name = "Small House"; private static $tmpStructure; private static $structure = [ @@ -54,7 +54,7 @@ class SmallHouseStructure extends Structure{ ]; public function __construct(){ - parent::__construct($this->width, $this->lenght, $this->name, $this->map); + parent::__construct($this->width, $this->length, $this->name, $this->map); } private function generateFence(){ diff --git a/src/structure/village/VillageLibraryStructure.php b/src/structure/village/VillageLibraryStructure.php index 47f1c49c..2cd123ef 100644 --- a/src/structure/village/VillageLibraryStructure.php +++ b/src/structure/village/VillageLibraryStructure.php @@ -2,7 +2,7 @@ class VillageLibraryStructure extends Structure{ public $width = 9; - public $lenght = 8; + public $length = 8; public $name = "Library"; private static $structure = [ 0 => [ @@ -115,7 +115,7 @@ class VillageLibraryStructure extends Structure{ ]; public function __construct(){ - parent::__construct($this->width, $this->lenght, $this->name, $this->map); + parent::__construct($this->width, $this->length, $this->name, $this->map); } public function build($level, $x, $y, $z, $structure = 0){ diff --git a/src/structure/village/WoodHutStructure.php b/src/structure/village/WoodHutStructure.php index 07e18b64..450af06b 100644 --- a/src/structure/village/WoodHutStructure.php +++ b/src/structure/village/WoodHutStructure.php @@ -2,7 +2,7 @@ class WoodHutStructure extends Structure{ public $width = 4; - public $lenght = 6; + public $length = 6; public $name = "Wood Hut"; private static $tmpStructure; private static $structure = [ @@ -94,7 +94,7 @@ class WoodHutStructure extends Structure{ } public function __construct(){ - parent::__construct($this->width, $this->lenght, $this->name, $this->map); + parent::__construct($this->width, $this->length, $this->name, $this->map); } public function build($level, $x, $y, $z, $structure = 0){