From 8b86e43d51fa71322f5d84fbd7ff4506f9b76182 Mon Sep 17 00:00:00 2001 From: Dylan T Date: Wed, 1 Jun 2022 15:56:47 +0100 Subject: [PATCH 01/23] Update support.yml --- .github/workflows/support.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml index 07984f128..d627f166f 100644 --- a/.github/workflows/support.yml +++ b/.github/workflows/support.yml @@ -13,7 +13,13 @@ jobs: github-token: ${{ github.token }} support-label: "Support request" issue-comment: > - Thanks, but this issue tracker is not intended for support requests. Please read the guidelines on [submitting an issue](https://github.com/pmmp/PocketMine-MP/blob/master/CONTRIBUTING.md#creating-an-issue). + Hi, we only accept **bug reports** on this issue tracker, but this issue looks like a support request. + + + Instead of creating a bug report, try the following: + + - Check our [Documentation](https://doc.pmmp.io) to see if you can find answers there + - Ask the community on our [Discord server](https://discord.gg/bmSAZBG) or our [Forums](https://forums.pmmp.io) [Docs](https://pmmp.rtfd.io) | [Discord](https://discord.gg/bmSAZBG) | [Forums](https://forums.pmmp.io) From c87a3b054cf29282464f50b6234638b2bbe665ab Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 1 Jun 2022 20:04:47 +0100 Subject: [PATCH 02/23] composer.json: fix make-devtools command --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f110f2824..3f417d1f2 100644 --- a/composer.json +++ b/composer.json @@ -79,7 +79,7 @@ "sort-packages": true }, "scripts": { - "make-devtools": "@php -dphar.readonly=0 tests/plugins/DevTools/src/ConsoleScript.php --make tests/plugins/DevTools --out plugins/DevTools.phar", + "make-devtools": "@php -dphar.readonly=0 tests/plugins/DevTools/src/ConsoleScript.php --make ./ --relative tests/plugins/DevTools --out plugins/DevTools.phar", "make-server": [ "@composer install --no-dev --classmap-authoritative --ignore-platform-reqs", "@php -dphar.readonly=0 build/server-phar.php" From 4b662d65b3c47996cdaf27f1d02638d54f0b6e32 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 2 Jun 2022 16:29:22 +0100 Subject: [PATCH 03/23] PluginManager: check graylist before doing any loadability checks fixes #5087 --- src/plugin/PluginManager.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/plugin/PluginManager.php b/src/plugin/PluginManager.php index 36dcd9195..2fbe3bb71 100644 --- a/src/plugin/PluginManager.php +++ b/src/plugin/PluginManager.php @@ -270,6 +270,17 @@ class PluginManager{ $name = $description->getName(); + if($this->graylist !== null && !$this->graylist->isAllowed($name)){ + $this->server->getLogger()->notice($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_loadError( + $name, + $this->graylist->isWhitelist() ? KnownTranslationFactory::pocketmine_plugin_disallowedByWhitelist() : KnownTranslationFactory::pocketmine_plugin_disallowedByBlacklist() + ))); + //this does NOT increment loadErrorCount, because using the graylist to prevent a plugin from + //loading is not considered accidental; this is the same as if the plugin were manually removed + //this means that the server will continue to boot even if some plugins were blocked by graylist + continue; + } + if(($loadabilityError = $loadabilityChecker->check($description)) !== null){ $this->server->getLogger()->critical($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_loadError($name, $loadabilityError))); $loadErrorCount++; @@ -286,17 +297,6 @@ class PluginManager{ $this->server->getLogger()->warning($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_spacesDiscouraged($name))); } - if($this->graylist !== null && !$this->graylist->isAllowed($name)){ - $this->server->getLogger()->notice($this->server->getLanguage()->translate(KnownTranslationFactory::pocketmine_plugin_loadError( - $name, - $this->graylist->isWhitelist() ? KnownTranslationFactory::pocketmine_plugin_disallowedByWhitelist() : KnownTranslationFactory::pocketmine_plugin_disallowedByBlacklist() - ))); - //this does NOT increment loadErrorCount, because using the graylist to prevent a plugin from - //loading is not considered accidental; this is the same as if the plugin were manually removed - //this means that the server will continue to boot even if some plugins were blocked by graylist - continue; - } - $triage->plugins[$name] = new PluginLoadTriageEntry($file, $loader, $description); $triage->softDependencies[$name] = array_merge($triage->softDependencies[$name] ?? [], $description->getSoftDepend()); From 7355798e7776bdb00d121a7b6b392f0f40ae32be Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 3 Jun 2022 18:34:54 +0100 Subject: [PATCH 04/23] Exit with error code if the server failed to start this ensures that external tools such as start.cmd actually see an error if there is one --- src/Server.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/Server.php b/src/Server.php index efc13c027..df2d1ebbf 100644 --- a/src/Server.php +++ b/src/Server.php @@ -861,7 +861,7 @@ class Server{ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_server_devBuild_error3())); $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_server_devBuild_error4("settings.enable-dev-builds"))); $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_server_devBuild_error5("https://github.com/pmmp/PocketMine-MP/releases"))); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } @@ -976,7 +976,7 @@ class Server{ $pluginGraylist = PluginGraylist::fromArray(yaml_parse(file_get_contents($graylistFile))); }catch(\InvalidArgumentException $e){ $this->logger->emergency("Failed to load $graylistFile: " . $e->getMessage()); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } $this->pluginManager = new PluginManager($this, $this->configGroup->getPropertyBool("plugins.legacy-data-dir", true) ? null : Path::join($this->getDataPath(), "plugin_data"), $pluginGraylist); @@ -1007,28 +1007,28 @@ class Server{ $this->pluginManager->loadPlugins($this->pluginPath, $loadErrorCount); if($loadErrorCount > 0){ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_plugin_someLoadErrors())); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->enablePlugins(PluginEnableOrder::STARTUP())){ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_plugin_someEnableErrors())); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->startupPrepareWorlds()){ - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->enablePlugins(PluginEnableOrder::POSTWORLD())){ $this->logger->emergency($this->language->translate(KnownTranslationFactory::pocketmine_plugin_someEnableErrors())); - $this->forceShutdown(); + $this->forceShutdownExit(); return; } if(!$this->startupPrepareNetworkInterfaces()){ - $this->forceShutdown(); + $this->forceShutdownExit(); return; } @@ -1456,6 +1456,11 @@ class Server{ } } + private function forceShutdownExit() : void{ + $this->forceShutdown(); + Process::kill(Process::pid(), true); + } + public function forceShutdown() : void{ if($this->hasStopped){ return; From 38d6284671e8b657ba557e765a6c29b24a7705f5 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sat, 4 Jun 2022 17:34:49 +0100 Subject: [PATCH 05/23] Use PHP-CS-Fixer to enforce file header presence --- .../includes/PHP File Header.php | 2 +- .php-cs-fixer.php | 22 +++++++++++++++++++ build/generate-build-info-json.php | 2 +- build/generate-known-translation-apis.php | 2 +- build/generate-registry-annotations.php | 2 +- build/make-release.php | 2 +- build/server-phar.php | 2 +- src/CoreConstants.php | 2 +- src/MemoryManager.php | 2 +- src/Server.php | 2 +- src/ServerConfigGroup.php | 2 +- src/VersionInfo.php | 2 +- src/block/ActivatorRail.php | 2 +- src/block/Air.php | 2 +- src/block/Anvil.php | 2 +- src/block/Bamboo.php | 2 +- src/block/BambooSapling.php | 2 +- src/block/Barrel.php | 2 +- src/block/BaseBanner.php | 2 +- src/block/BaseCoral.php | 2 +- src/block/BaseRail.php | 2 +- src/block/BaseSign.php | 2 +- src/block/Beacon.php | 2 +- src/block/Bed.php | 2 +- src/block/Bedrock.php | 2 +- src/block/Beetroot.php | 2 +- src/block/Bell.php | 2 +- src/block/Block.php | 2 +- src/block/BlockBreakInfo.php | 2 +- src/block/BlockFactory.php | 2 +- src/block/BlockIdentifier.php | 2 +- src/block/BlockIdentifierFlattened.php | 2 +- src/block/BlockLegacyIdHelper.php | 2 +- src/block/BlockLegacyIds.php | 2 +- src/block/BlockLegacyMetadata.php | 2 +- src/block/BlockToolType.php | 2 +- src/block/BlueIce.php | 2 +- src/block/BoneBlock.php | 2 +- src/block/Bookshelf.php | 2 +- src/block/BrewingStand.php | 2 +- src/block/BrownMushroom.php | 2 +- src/block/BrownMushroomBlock.php | 2 +- src/block/Button.php | 2 +- src/block/Cactus.php | 2 +- src/block/Cake.php | 2 +- src/block/Carpet.php | 2 +- src/block/Carrot.php | 2 +- src/block/CarvedPumpkin.php | 2 +- src/block/ChemicalHeat.php | 2 +- src/block/ChemistryTable.php | 2 +- src/block/Chest.php | 2 +- src/block/Clay.php | 2 +- src/block/Coal.php | 2 +- src/block/CoalOre.php | 2 +- src/block/Cobweb.php | 2 +- src/block/CocoaBlock.php | 2 +- src/block/Concrete.php | 2 +- src/block/ConcretePowder.php | 2 +- src/block/Coral.php | 2 +- src/block/CoralBlock.php | 2 +- src/block/CraftingTable.php | 2 +- src/block/Crops.php | 2 +- src/block/DaylightSensor.php | 2 +- src/block/DeadBush.php | 2 +- src/block/DetectorRail.php | 2 +- src/block/DiamondOre.php | 2 +- src/block/Dirt.php | 2 +- src/block/Door.php | 2 +- src/block/DoublePlant.php | 2 +- src/block/DoubleTallGrass.php | 2 +- src/block/DragonEgg.php | 2 +- src/block/DriedKelp.php | 2 +- src/block/DyedShulkerBox.php | 2 +- src/block/Element.php | 2 +- src/block/EmeraldOre.php | 2 +- src/block/EnchantingTable.php | 2 +- src/block/EndPortalFrame.php | 2 +- src/block/EndRod.php | 2 +- src/block/EnderChest.php | 2 +- src/block/Farmland.php | 2 +- src/block/Fence.php | 2 +- src/block/FenceGate.php | 2 +- src/block/Fire.php | 2 +- src/block/FletchingTable.php | 2 +- src/block/FloorBanner.php | 2 +- src/block/FloorCoralFan.php | 2 +- src/block/FloorSign.php | 2 +- src/block/Flowable.php | 2 +- src/block/Flower.php | 2 +- src/block/FlowerPot.php | 2 +- src/block/FrostedIce.php | 2 +- src/block/Furnace.php | 2 +- src/block/Glass.php | 2 +- src/block/GlassPane.php | 2 +- src/block/GlazedTerracotta.php | 2 +- src/block/GlowingObsidian.php | 2 +- src/block/Glowstone.php | 2 +- src/block/Grass.php | 2 +- src/block/GrassPath.php | 2 +- src/block/Gravel.php | 2 +- src/block/HardenedClay.php | 2 +- src/block/HardenedGlass.php | 2 +- src/block/HardenedGlassPane.php | 2 +- src/block/HayBale.php | 2 +- src/block/Hopper.php | 2 +- src/block/Ice.php | 2 +- src/block/InfestedStone.php | 2 +- src/block/ItemFrame.php | 2 +- src/block/Jukebox.php | 2 +- src/block/Ladder.php | 2 +- src/block/Lantern.php | 2 +- src/block/LapisOre.php | 2 +- src/block/Lava.php | 2 +- src/block/Leaves.php | 2 +- src/block/Lectern.php | 2 +- src/block/Lever.php | 2 +- src/block/Liquid.php | 2 +- src/block/LitPumpkin.php | 2 +- src/block/Log.php | 2 +- src/block/Loom.php | 2 +- src/block/Magma.php | 2 +- src/block/Melon.php | 2 +- src/block/MelonStem.php | 2 +- src/block/MonsterSpawner.php | 2 +- src/block/MushroomStem.php | 2 +- src/block/Mycelium.php | 2 +- src/block/NetherPortal.php | 2 +- src/block/NetherQuartzOre.php | 2 +- src/block/NetherReactor.php | 2 +- src/block/NetherWartPlant.php | 2 +- src/block/Netherrack.php | 2 +- src/block/Note.php | 2 +- src/block/Opaque.php | 2 +- src/block/PackedIce.php | 2 +- src/block/Planks.php | 2 +- src/block/Podzol.php | 2 +- src/block/Potato.php | 2 +- src/block/PoweredRail.php | 2 +- src/block/PressurePlate.php | 2 +- src/block/Pumpkin.php | 2 +- src/block/PumpkinStem.php | 2 +- src/block/Rail.php | 2 +- src/block/RedMushroom.php | 2 +- src/block/RedMushroomBlock.php | 2 +- src/block/Redstone.php | 2 +- src/block/RedstoneComparator.php | 2 +- src/block/RedstoneLamp.php | 2 +- src/block/RedstoneOre.php | 2 +- src/block/RedstoneRepeater.php | 2 +- src/block/RedstoneTorch.php | 2 +- src/block/RedstoneWire.php | 2 +- src/block/Reserved6.php | 2 +- src/block/Sand.php | 2 +- src/block/Sapling.php | 2 +- src/block/SeaLantern.php | 2 +- src/block/SeaPickle.php | 2 +- src/block/ShulkerBox.php | 2 +- src/block/SimplePillar.php | 2 +- src/block/SimplePressurePlate.php | 2 +- src/block/Skull.php | 2 +- src/block/Slab.php | 2 +- src/block/Slime.php | 2 +- src/block/Snow.php | 2 +- src/block/SnowLayer.php | 2 +- src/block/SoulSand.php | 2 +- src/block/Sponge.php | 2 +- src/block/StainedGlass.php | 2 +- src/block/StainedGlassPane.php | 2 +- src/block/StainedHardenedClay.php | 2 +- src/block/StainedHardenedGlass.php | 2 +- src/block/StainedHardenedGlassPane.php | 2 +- src/block/Stair.php | 2 +- src/block/Stem.php | 2 +- src/block/StoneButton.php | 2 +- src/block/StonePressurePlate.php | 2 +- src/block/Stonecutter.php | 2 +- src/block/StraightOnlyRail.php | 2 +- src/block/Sugarcane.php | 2 +- src/block/SweetBerryBush.php | 2 +- src/block/TNT.php | 2 +- src/block/TallGrass.php | 2 +- src/block/Thin.php | 2 +- src/block/Torch.php | 2 +- src/block/Transparent.php | 2 +- src/block/Trapdoor.php | 2 +- src/block/TrappedChest.php | 2 +- src/block/Tripwire.php | 2 +- src/block/TripwireHook.php | 2 +- src/block/UnderwaterTorch.php | 2 +- src/block/UnknownBlock.php | 2 +- src/block/VanillaBlocks.php | 2 +- src/block/Vine.php | 2 +- src/block/Wall.php | 2 +- src/block/WallBanner.php | 2 +- src/block/WallCoralFan.php | 2 +- src/block/WallSign.php | 2 +- src/block/Water.php | 2 +- src/block/WaterLily.php | 2 +- src/block/WeightedPressurePlate.php | 2 +- src/block/WeightedPressurePlateHeavy.php | 2 +- src/block/WeightedPressurePlateLight.php | 2 +- src/block/Wheat.php | 2 +- src/block/Wood.php | 2 +- src/block/WoodenButton.php | 2 +- src/block/WoodenDoor.php | 2 +- src/block/WoodenFence.php | 2 +- src/block/WoodenPressurePlate.php | 2 +- src/block/WoodenSlab.php | 2 +- src/block/WoodenStairs.php | 2 +- src/block/WoodenTrapdoor.php | 2 +- src/block/Wool.php | 2 +- .../inventory/AnimatedBlockInventoryTrait.php | 2 +- src/block/inventory/AnvilInventory.php | 2 +- src/block/inventory/BarrelInventory.php | 2 +- src/block/inventory/BlockInventory.php | 2 +- src/block/inventory/BlockInventoryTrait.php | 2 +- src/block/inventory/BrewingStandInventory.php | 2 +- src/block/inventory/ChestInventory.php | 2 +- .../inventory/CraftingTableInventory.php | 2 +- src/block/inventory/DoubleChestInventory.php | 2 +- src/block/inventory/EnchantInventory.php | 2 +- src/block/inventory/EnderChestInventory.php | 2 +- src/block/inventory/FurnaceInventory.php | 2 +- src/block/inventory/HopperInventory.php | 2 +- src/block/inventory/LoomInventory.php | 2 +- src/block/inventory/ShulkerBoxInventory.php | 2 +- src/block/inventory/StonecutterInventory.php | 2 +- src/block/tile/Banner.php | 2 +- src/block/tile/Barrel.php | 2 +- src/block/tile/Beacon.php | 2 +- src/block/tile/Bed.php | 2 +- src/block/tile/Bell.php | 2 +- src/block/tile/BlastFurnace.php | 2 +- src/block/tile/BrewingStand.php | 2 +- src/block/tile/Chest.php | 2 +- src/block/tile/Comparator.php | 2 +- src/block/tile/Container.php | 2 +- src/block/tile/ContainerTrait.php | 2 +- src/block/tile/DaylightSensor.php | 2 +- src/block/tile/EnchantTable.php | 2 +- src/block/tile/EnderChest.php | 2 +- src/block/tile/FlowerPot.php | 2 +- src/block/tile/Furnace.php | 2 +- src/block/tile/Hopper.php | 2 +- src/block/tile/ItemFrame.php | 2 +- src/block/tile/Jukebox.php | 2 +- src/block/tile/Lectern.php | 2 +- src/block/tile/MonsterSpawner.php | 2 +- src/block/tile/Nameable.php | 2 +- src/block/tile/NameableTrait.php | 2 +- src/block/tile/NormalFurnace.php | 2 +- src/block/tile/Note.php | 2 +- src/block/tile/ShulkerBox.php | 2 +- src/block/tile/Sign.php | 2 +- src/block/tile/Skull.php | 2 +- src/block/tile/Smoker.php | 2 +- src/block/tile/Spawnable.php | 2 +- src/block/tile/Tile.php | 2 +- src/block/tile/TileFactory.php | 2 +- .../AnalogRedstoneSignalEmitterTrait.php | 2 +- src/block/utils/AnyFacingTrait.php | 2 +- src/block/utils/BannerPatternLayer.php | 2 +- src/block/utils/BannerPatternType.php | 2 +- src/block/utils/BellAttachmentType.php | 2 +- src/block/utils/BlockDataSerializer.php | 2 +- src/block/utils/BrewingStandSlot.php | 2 +- src/block/utils/ColorInMetadataTrait.php | 2 +- src/block/utils/ColoredTrait.php | 2 +- src/block/utils/CoralType.php | 2 +- src/block/utils/CoralTypeTrait.php | 2 +- src/block/utils/DyeColor.php | 2 +- .../utils/FacesOppositePlacingPlayerTrait.php | 2 +- src/block/utils/Fallable.php | 2 +- src/block/utils/FallableTrait.php | 2 +- src/block/utils/HorizontalFacingTrait.php | 2 +- .../utils/InvalidBlockStateException.php | 2 +- src/block/utils/LeverFacing.php | 2 +- src/block/utils/MinimumCostFlowCalculator.php | 2 +- src/block/utils/MushroomBlockType.php | 2 +- .../NormalHorizontalFacingInMetadataTrait.php | 2 +- .../utils/PillarRotationInMetadataTrait.php | 2 +- src/block/utils/PillarRotationTrait.php | 2 +- src/block/utils/PoweredByRedstoneTrait.php | 2 +- src/block/utils/RailConnectionInfo.php | 2 +- .../utils/RailPoweredByRedstoneTrait.php | 2 +- src/block/utils/RecordType.php | 2 +- src/block/utils/SignLikeRotationTrait.php | 2 +- src/block/utils/SignText.php | 2 +- src/block/utils/SkullType.php | 2 +- src/block/utils/SlabType.php | 2 +- src/block/utils/StairShape.php | 2 +- src/block/utils/SupportType.php | 2 +- src/block/utils/TreeType.php | 2 +- src/command/Command.php | 2 +- src/command/CommandExecutor.php | 2 +- src/command/CommandMap.php | 2 +- src/command/CommandSender.php | 2 +- src/command/FormattedCommandAlias.php | 2 +- src/command/PluginCommand.php | 2 +- src/command/SimpleCommandMap.php | 2 +- src/command/defaults/BanCommand.php | 2 +- src/command/defaults/BanIpCommand.php | 2 +- src/command/defaults/BanListCommand.php | 2 +- src/command/defaults/ClearCommand.php | 2 +- .../defaults/DefaultGamemodeCommand.php | 2 +- src/command/defaults/DeopCommand.php | 2 +- src/command/defaults/DifficultyCommand.php | 2 +- src/command/defaults/DumpMemoryCommand.php | 2 +- src/command/defaults/EffectCommand.php | 2 +- src/command/defaults/EnchantCommand.php | 2 +- src/command/defaults/GamemodeCommand.php | 2 +- .../defaults/GarbageCollectorCommand.php | 2 +- src/command/defaults/GiveCommand.php | 2 +- src/command/defaults/HelpCommand.php | 2 +- src/command/defaults/KickCommand.php | 2 +- src/command/defaults/KillCommand.php | 2 +- src/command/defaults/ListCommand.php | 2 +- src/command/defaults/MeCommand.php | 2 +- src/command/defaults/OpCommand.php | 2 +- src/command/defaults/PardonCommand.php | 2 +- src/command/defaults/PardonIpCommand.php | 2 +- src/command/defaults/ParticleCommand.php | 2 +- src/command/defaults/PluginsCommand.php | 2 +- src/command/defaults/SaveCommand.php | 2 +- src/command/defaults/SaveOffCommand.php | 2 +- src/command/defaults/SaveOnCommand.php | 2 +- src/command/defaults/SayCommand.php | 2 +- src/command/defaults/SeedCommand.php | 2 +- src/command/defaults/SetWorldSpawnCommand.php | 2 +- src/command/defaults/SpawnpointCommand.php | 2 +- src/command/defaults/StatusCommand.php | 2 +- src/command/defaults/StopCommand.php | 2 +- src/command/defaults/TeleportCommand.php | 2 +- src/command/defaults/TellCommand.php | 2 +- src/command/defaults/TimeCommand.php | 2 +- src/command/defaults/TimingsCommand.php | 2 +- src/command/defaults/TitleCommand.php | 2 +- .../defaults/TransferServerCommand.php | 2 +- src/command/defaults/VanillaCommand.php | 2 +- src/command/defaults/VersionCommand.php | 2 +- src/command/defaults/WhitelistCommand.php | 2 +- src/command/utils/CommandException.php | 2 +- src/command/utils/CommandStringHelper.php | 2 +- .../utils/InvalidCommandSyntaxException.php | 2 +- src/console/ConsoleCommandSender.php | 2 +- src/console/ConsoleReader.php | 2 +- src/console/ConsoleReaderChildProcess.php | 2 +- src/console/ConsoleReaderThread.php | 2 +- src/crafting/BrewingRecipe.php | 2 +- src/crafting/CraftingGrid.php | 2 +- src/crafting/CraftingManager.php | 2 +- .../CraftingManagerFromDataHelper.php | 2 +- src/crafting/CraftingRecipe.php | 2 +- src/crafting/FurnaceRecipe.php | 2 +- src/crafting/FurnaceRecipeManager.php | 2 +- src/crafting/FurnaceType.php | 2 +- src/crafting/PotionContainerChangeRecipe.php | 2 +- src/crafting/PotionTypeRecipe.php | 2 +- src/crafting/ShapedRecipe.php | 2 +- src/crafting/ShapelessRecipe.php | 2 +- src/crafting/ShapelessRecipeType.php | 2 +- src/crash/CrashDump.php | 2 +- src/crash/CrashDumpData.php | 2 +- src/crash/CrashDumpDataGeneral.php | 2 +- src/crash/CrashDumpDataPluginEntry.php | 2 +- src/crash/CrashDumpRenderer.php | 2 +- src/data/SavedDataLoadingException.php | 2 +- src/data/bedrock/BannerPatternTypeIdMap.php | 2 +- src/data/bedrock/BiomeIds.php | 2 +- src/data/bedrock/CompoundTypeIds.php | 2 +- src/data/bedrock/CoralTypeIdMap.php | 2 +- src/data/bedrock/DyeColorIdMap.php | 2 +- src/data/bedrock/EffectIdMap.php | 2 +- src/data/bedrock/EffectIds.php | 2 +- src/data/bedrock/EnchantmentIdMap.php | 2 +- src/data/bedrock/EnchantmentIds.php | 2 +- src/data/bedrock/EntityLegacyIds.php | 2 +- .../bedrock/LegacyBiomeIdToStringIdMap.php | 2 +- .../bedrock/LegacyBlockIdToStringIdMap.php | 2 +- .../bedrock/LegacyEntityIdToStringIdMap.php | 2 +- .../bedrock/LegacyItemIdToStringIdMap.php | 2 +- .../LegacyToStringBidirectionalIdMap.php | 2 +- src/data/bedrock/MushroomBlockTypeIdMap.php | 2 +- src/data/bedrock/PotionTypeIdMap.php | 2 +- src/data/bedrock/PotionTypeIds.php | 2 +- src/data/java/GameModeIdMap.php | 2 +- src/entity/Ageable.php | 2 +- src/entity/Attribute.php | 2 +- src/entity/AttributeFactory.php | 2 +- src/entity/AttributeMap.php | 2 +- src/entity/Consumable.php | 2 +- src/entity/Entity.php | 2 +- src/entity/EntityDataHelper.php | 2 +- src/entity/EntityFactory.php | 2 +- src/entity/EntitySizeInfo.php | 2 +- src/entity/ExperienceManager.php | 2 +- src/entity/Explosive.php | 2 +- src/entity/FoodSource.php | 2 +- src/entity/Human.php | 2 +- src/entity/HungerManager.php | 2 +- src/entity/InvalidSkinException.php | 2 +- src/entity/Living.php | 2 +- src/entity/Location.php | 2 +- src/entity/Skin.php | 2 +- src/entity/Squid.php | 2 +- src/entity/Villager.php | 2 +- src/entity/WaterAnimal.php | 2 +- src/entity/Zombie.php | 2 +- src/entity/animation/Animation.php | 2 +- src/entity/animation/ArmSwingAnimation.php | 2 +- src/entity/animation/ArrowShakeAnimation.php | 2 +- .../animation/ConsumingItemAnimation.php | 2 +- src/entity/animation/CriticalHitAnimation.php | 2 +- src/entity/animation/DeathAnimation.php | 2 +- src/entity/animation/HurtAnimation.php | 2 +- .../ItemEntityStackSizeChangeAnimation.php | 2 +- src/entity/animation/RespawnAnimation.php | 2 +- .../animation/SquidInkCloudAnimation.php | 2 +- src/entity/animation/TotemUseAnimation.php | 2 +- src/entity/effect/AbsorptionEffect.php | 2 +- src/entity/effect/Effect.php | 2 +- src/entity/effect/EffectInstance.php | 2 +- src/entity/effect/EffectManager.php | 2 +- src/entity/effect/HealthBoostEffect.php | 2 +- src/entity/effect/HungerEffect.php | 2 +- src/entity/effect/InstantDamageEffect.php | 2 +- src/entity/effect/InstantEffect.php | 2 +- src/entity/effect/InstantHealthEffect.php | 2 +- src/entity/effect/InvisibilityEffect.php | 2 +- src/entity/effect/LevitationEffect.php | 2 +- src/entity/effect/PoisonEffect.php | 2 +- src/entity/effect/RegenerationEffect.php | 2 +- src/entity/effect/SaturationEffect.php | 2 +- src/entity/effect/SlownessEffect.php | 2 +- src/entity/effect/SpeedEffect.php | 2 +- src/entity/effect/StringToEffectParser.php | 2 +- src/entity/effect/VanillaEffects.php | 2 +- src/entity/effect/WitherEffect.php | 2 +- src/entity/object/ExperienceOrb.php | 2 +- src/entity/object/FallingBlock.php | 2 +- src/entity/object/ItemEntity.php | 2 +- src/entity/object/Painting.php | 2 +- src/entity/object/PaintingMotive.php | 2 +- src/entity/object/PrimedTNT.php | 2 +- src/entity/projectile/Arrow.php | 2 +- src/entity/projectile/Egg.php | 2 +- src/entity/projectile/EnderPearl.php | 2 +- src/entity/projectile/ExperienceBottle.php | 2 +- src/entity/projectile/Projectile.php | 2 +- src/entity/projectile/ProjectileSource.php | 2 +- src/entity/projectile/Snowball.php | 2 +- src/entity/projectile/SplashPotion.php | 2 +- src/entity/projectile/Throwable.php | 2 +- src/entity/utils/ExperienceUtils.php | 2 +- src/event/Cancellable.php | 2 +- src/event/CancellableTrait.php | 2 +- src/event/Event.php | 2 +- src/event/EventPriority.php | 2 +- src/event/HandlerList.php | 2 +- src/event/HandlerListManager.php | 2 +- src/event/Listener.php | 2 +- src/event/ListenerMethodTags.php | 2 +- src/event/RegisteredListener.php | 2 +- src/event/block/BaseBlockChangeEvent.php | 2 +- src/event/block/BlockBreakEvent.php | 2 +- src/event/block/BlockBurnEvent.php | 2 +- src/event/block/BlockEvent.php | 2 +- src/event/block/BlockFormEvent.php | 2 +- src/event/block/BlockGrowEvent.php | 2 +- src/event/block/BlockItemPickupEvent.php | 19 ++++++++++++++++ src/event/block/BlockMeltEvent.php | 2 +- src/event/block/BlockPlaceEvent.php | 2 +- src/event/block/BlockSpreadEvent.php | 2 +- src/event/block/BlockTeleportEvent.php | 2 +- src/event/block/BlockUpdateEvent.php | 2 +- src/event/block/BrewItemEvent.php | 2 +- src/event/block/BrewingFuelUseEvent.php | 2 +- src/event/block/ChestPairEvent.php | 2 +- src/event/block/LeavesDecayEvent.php | 2 +- src/event/block/SignChangeEvent.php | 2 +- src/event/block/StructureGrowEvent.php | 19 ++++++++++++++++ src/event/entity/EntityBlockChangeEvent.php | 2 +- .../entity/EntityCombustByBlockEvent.php | 2 +- .../entity/EntityCombustByEntityEvent.php | 2 +- src/event/entity/EntityCombustEvent.php | 2 +- src/event/entity/EntityDamageByBlockEvent.php | 2 +- .../entity/EntityDamageByChildEntityEvent.php | 2 +- .../entity/EntityDamageByEntityEvent.php | 2 +- src/event/entity/EntityDamageEvent.php | 2 +- src/event/entity/EntityDeathEvent.php | 2 +- src/event/entity/EntityDespawnEvent.php | 2 +- src/event/entity/EntityEffectAddEvent.php | 2 +- src/event/entity/EntityEffectEvent.php | 2 +- src/event/entity/EntityEffectRemoveEvent.php | 2 +- src/event/entity/EntityEvent.php | 2 +- src/event/entity/EntityExplodeEvent.php | 2 +- src/event/entity/EntityItemPickupEvent.php | 2 +- src/event/entity/EntityMotionEvent.php | 2 +- src/event/entity/EntityRegainHealthEvent.php | 2 +- src/event/entity/EntityShootBowEvent.php | 2 +- src/event/entity/EntitySpawnEvent.php | 2 +- src/event/entity/EntityTeleportEvent.php | 2 +- .../entity/EntityTrampleFarmlandEvent.php | 2 +- src/event/entity/ExplosionPrimeEvent.php | 2 +- src/event/entity/ItemDespawnEvent.php | 2 +- src/event/entity/ItemMergeEvent.php | 2 +- src/event/entity/ItemSpawnEvent.php | 2 +- src/event/entity/ProjectileHitBlockEvent.php | 2 +- src/event/entity/ProjectileHitEntityEvent.php | 2 +- src/event/entity/ProjectileHitEvent.php | 2 +- src/event/entity/ProjectileLaunchEvent.php | 2 +- src/event/inventory/CraftItemEvent.php | 2 +- src/event/inventory/FurnaceBurnEvent.php | 2 +- src/event/inventory/FurnaceSmeltEvent.php | 2 +- src/event/inventory/InventoryCloseEvent.php | 2 +- src/event/inventory/InventoryEvent.php | 2 +- src/event/inventory/InventoryOpenEvent.php | 2 +- .../inventory/InventoryTransactionEvent.php | 2 +- src/event/player/PlayerBedEnterEvent.php | 2 +- src/event/player/PlayerBedLeaveEvent.php | 2 +- src/event/player/PlayerBlockPickEvent.php | 2 +- src/event/player/PlayerBucketEmptyEvent.php | 2 +- src/event/player/PlayerBucketEvent.php | 2 +- src/event/player/PlayerBucketFillEvent.php | 2 +- src/event/player/PlayerChangeSkinEvent.php | 2 +- src/event/player/PlayerChatEvent.php | 2 +- .../player/PlayerCommandPreprocessEvent.php | 2 +- src/event/player/PlayerCreationEvent.php | 2 +- src/event/player/PlayerDataSaveEvent.php | 2 +- src/event/player/PlayerDeathEvent.php | 2 +- .../player/PlayerDisplayNameChangeEvent.php | 2 +- src/event/player/PlayerDropItemEvent.php | 2 +- .../player/PlayerDuplicateLoginEvent.php | 2 +- src/event/player/PlayerEditBookEvent.php | 2 +- src/event/player/PlayerEmoteEvent.php | 2 +- .../player/PlayerEntityInteractEvent.php | 2 +- src/event/player/PlayerEvent.php | 2 +- src/event/player/PlayerExhaustEvent.php | 2 +- .../player/PlayerExperienceChangeEvent.php | 2 +- .../player/PlayerGameModeChangeEvent.php | 2 +- src/event/player/PlayerInteractEvent.php | 2 +- src/event/player/PlayerItemConsumeEvent.php | 2 +- src/event/player/PlayerItemHeldEvent.php | 2 +- src/event/player/PlayerItemUseEvent.php | 2 +- src/event/player/PlayerJoinEvent.php | 2 +- src/event/player/PlayerJumpEvent.php | 2 +- src/event/player/PlayerKickEvent.php | 2 +- src/event/player/PlayerLoginEvent.php | 2 +- src/event/player/PlayerMoveEvent.php | 2 +- src/event/player/PlayerPostChunkSendEvent.php | 2 +- src/event/player/PlayerPreLoginEvent.php | 2 +- src/event/player/PlayerQuitEvent.php | 2 +- src/event/player/PlayerRespawnEvent.php | 2 +- src/event/player/PlayerToggleFlightEvent.php | 2 +- src/event/player/PlayerToggleGlideEvent.php | 2 +- src/event/player/PlayerToggleSneakEvent.php | 2 +- src/event/player/PlayerToggleSprintEvent.php | 2 +- src/event/player/PlayerToggleSwimEvent.php | 2 +- src/event/player/PlayerTransferEvent.php | 2 +- .../player/PlayerViewDistanceChangeEvent.php | 2 +- src/event/plugin/PluginDisableEvent.php | 2 +- src/event/plugin/PluginEnableEvent.php | 2 +- src/event/plugin/PluginEvent.php | 2 +- src/event/server/CommandEvent.php | 2 +- src/event/server/DataPacketReceiveEvent.php | 2 +- src/event/server/DataPacketSendEvent.php | 2 +- src/event/server/LowMemoryEvent.php | 2 +- src/event/server/NetworkInterfaceEvent.php | 2 +- .../server/NetworkInterfaceRegisterEvent.php | 2 +- .../NetworkInterfaceUnregisterEvent.php | 2 +- src/event/server/QueryRegenerateEvent.php | 2 +- src/event/server/ServerEvent.php | 2 +- src/event/server/UpdateNotifyEvent.php | 2 +- src/event/world/ChunkEvent.php | 2 +- src/event/world/ChunkLoadEvent.php | 2 +- src/event/world/ChunkPopulateEvent.php | 2 +- src/event/world/ChunkUnloadEvent.php | 2 +- src/event/world/SpawnChangeEvent.php | 2 +- src/event/world/WorldEvent.php | 2 +- src/event/world/WorldInitEvent.php | 2 +- src/event/world/WorldLoadEvent.php | 2 +- src/event/world/WorldSaveEvent.php | 2 +- src/event/world/WorldUnloadEvent.php | 2 +- src/form/Form.php | 2 +- src/form/FormValidationException.php | 2 +- src/inventory/ArmorInventory.php | 2 +- src/inventory/BaseInventory.php | 2 +- src/inventory/CallbackInventoryListener.php | 2 +- src/inventory/CreativeInventory.php | 2 +- src/inventory/DelegateInventory.php | 2 +- src/inventory/Inventory.php | 2 +- src/inventory/InventoryHolder.php | 2 +- src/inventory/InventoryListener.php | 2 +- src/inventory/PlayerCraftingInventory.php | 2 +- src/inventory/PlayerCursorInventory.php | 2 +- src/inventory/PlayerEnderInventory.php | 2 +- src/inventory/PlayerInventory.php | 2 +- src/inventory/PlayerOffHandInventory.php | 2 +- src/inventory/SimpleInventory.php | 2 +- src/inventory/TemporaryInventory.php | 2 +- .../transaction/CraftingTransaction.php | 2 +- .../transaction/InventoryTransaction.php | 2 +- .../TransactionBuilderInventory.php | 2 +- .../TransactionCancelledException.php | 2 +- .../transaction/TransactionException.php | 2 +- .../TransactionValidationException.php | 2 +- .../transaction/action/CreateItemAction.php | 2 +- .../transaction/action/DestroyItemAction.php | 2 +- .../transaction/action/DropItemAction.php | 2 +- .../transaction/action/InventoryAction.php | 2 +- .../transaction/action/SlotChangeAction.php | 2 +- src/item/Apple.php | 2 +- src/item/Armor.php | 2 +- src/item/ArmorTypeInfo.php | 2 +- src/item/Arrow.php | 2 +- src/item/Axe.php | 2 +- src/item/BakedPotato.php | 2 +- src/item/Bamboo.php | 2 +- src/item/Banner.php | 2 +- src/item/Bed.php | 2 +- src/item/Beetroot.php | 2 +- src/item/BeetrootSeeds.php | 2 +- src/item/BeetrootSoup.php | 2 +- src/item/BlazeRod.php | 2 +- src/item/Boat.php | 2 +- src/item/Book.php | 2 +- src/item/Bow.php | 2 +- src/item/Bowl.php | 2 +- src/item/Bread.php | 2 +- src/item/Bucket.php | 2 +- src/item/Carrot.php | 2 +- src/item/ChorusFruit.php | 2 +- src/item/Clock.php | 2 +- src/item/Clownfish.php | 2 +- src/item/Coal.php | 2 +- src/item/CocoaBeans.php | 2 +- src/item/Compass.php | 2 +- src/item/ConsumableItem.php | 2 +- src/item/CookedChicken.php | 2 +- src/item/CookedFish.php | 2 +- src/item/CookedMutton.php | 2 +- src/item/CookedPorkchop.php | 2 +- src/item/CookedRabbit.php | 2 +- src/item/CookedSalmon.php | 2 +- src/item/Cookie.php | 2 +- src/item/DriedKelp.php | 2 +- src/item/Durable.php | 2 +- src/item/Dye.php | 2 +- src/item/Egg.php | 2 +- src/item/EnderPearl.php | 2 +- src/item/ExperienceBottle.php | 2 +- src/item/Fertilizer.php | 2 +- src/item/FishingRod.php | 2 +- src/item/FlintSteel.php | 2 +- src/item/Food.php | 2 +- src/item/FoodSourceItem.php | 2 +- src/item/GlassBottle.php | 2 +- src/item/GoldenApple.php | 2 +- src/item/GoldenAppleEnchanted.php | 2 +- src/item/GoldenCarrot.php | 2 +- src/item/Hoe.php | 2 +- src/item/Item.php | 2 +- src/item/ItemBlock.php | 2 +- src/item/ItemBlockWallOrFloor.php | 2 +- src/item/ItemEnchantmentHandlingTrait.php | 2 +- src/item/ItemFactory.php | 2 +- src/item/ItemIdentifier.php | 2 +- src/item/ItemIds.php | 2 +- src/item/ItemUseResult.php | 2 +- src/item/LegacyStringToItemParser.php | 2 +- .../LegacyStringToItemParserException.php | 2 +- src/item/LiquidBucket.php | 2 +- src/item/Melon.php | 2 +- src/item/MelonSeeds.php | 2 +- src/item/MilkBucket.php | 2 +- src/item/Minecart.php | 2 +- src/item/MushroomStew.php | 2 +- src/item/PaintingItem.php | 2 +- src/item/Pickaxe.php | 2 +- src/item/PoisonousPotato.php | 2 +- src/item/Potato.php | 2 +- src/item/Potion.php | 2 +- src/item/PotionType.php | 2 +- src/item/ProjectileItem.php | 2 +- src/item/Pufferfish.php | 2 +- src/item/PumpkinPie.php | 2 +- src/item/PumpkinSeeds.php | 2 +- src/item/RabbitStew.php | 2 +- src/item/RawBeef.php | 2 +- src/item/RawChicken.php | 2 +- src/item/RawFish.php | 2 +- src/item/RawMutton.php | 2 +- src/item/RawPorkchop.php | 2 +- src/item/RawRabbit.php | 2 +- src/item/RawSalmon.php | 2 +- src/item/Record.php | 2 +- src/item/Redstone.php | 2 +- src/item/Releasable.php | 2 +- src/item/RottenFlesh.php | 2 +- src/item/Shears.php | 2 +- src/item/Shovel.php | 2 +- src/item/Skull.php | 2 +- src/item/Snowball.php | 2 +- src/item/SpawnEgg.php | 2 +- src/item/SpiderEye.php | 2 +- src/item/SplashPotion.php | 2 +- src/item/Steak.php | 2 +- src/item/Stick.php | 2 +- src/item/StringItem.php | 2 +- src/item/StringToItemParser.php | 2 +- src/item/SweetBerries.php | 2 +- src/item/Sword.php | 2 +- src/item/TieredTool.php | 2 +- src/item/Tool.php | 2 +- src/item/ToolTier.php | 2 +- src/item/Totem.php | 2 +- src/item/VanillaItems.php | 2 +- src/item/WheatSeeds.php | 2 +- src/item/WritableBook.php | 2 +- src/item/WritableBookBase.php | 2 +- src/item/WritableBookPage.php | 2 +- src/item/WrittenBook.php | 2 +- src/item/enchantment/Enchantment.php | 2 +- src/item/enchantment/EnchantmentInstance.php | 2 +- .../enchantment/FireAspectEnchantment.php | 2 +- src/item/enchantment/ItemFlags.php | 2 +- src/item/enchantment/KnockbackEnchantment.php | 2 +- .../enchantment/MeleeWeaponEnchantment.php | 2 +- .../enchantment/ProtectionEnchantment.php | 2 +- src/item/enchantment/Rarity.php | 2 +- src/item/enchantment/SharpnessEnchantment.php | 2 +- .../enchantment/StringToEnchantmentParser.php | 2 +- src/item/enchantment/VanillaEnchantments.php | 2 +- src/lang/KnownTranslationFactory.php | 2 +- src/lang/KnownTranslationKeys.php | 2 +- src/lang/Language.php | 2 +- src/lang/LanguageNotFoundException.php | 2 +- src/lang/Translatable.php | 2 +- src/network/AdvancedNetworkInterface.php | 2 +- src/network/BandwidthStatsTracker.php | 2 +- .../BidirectionalBandwidthStatsTracker.php | 2 +- src/network/Network.php | 2 +- src/network/NetworkInterface.php | 2 +- .../NetworkInterfaceStartException.php | 2 +- src/network/NetworkSessionManager.php | 2 +- src/network/PacketHandlingException.php | 2 +- src/network/RawPacketHandler.php | 2 +- src/network/mcpe/ChunkRequestTask.php | 2 +- src/network/mcpe/InventoryManager.php | 2 +- src/network/mcpe/JwtException.php | 2 +- src/network/mcpe/JwtUtils.php | 2 +- src/network/mcpe/NetworkSession.php | 2 +- src/network/mcpe/PacketBroadcaster.php | 2 +- src/network/mcpe/PacketSender.php | 2 +- .../mcpe/StandardPacketBroadcaster.php | 2 +- src/network/mcpe/auth/ProcessLoginTask.php | 2 +- .../mcpe/auth/VerifyLoginException.php | 2 +- src/network/mcpe/cache/ChunkCache.php | 2 +- src/network/mcpe/cache/CraftingDataCache.php | 2 +- src/network/mcpe/cache/StaticPacketCache.php | 2 +- .../mcpe/compression/CompressBatchPromise.php | 2 +- .../mcpe/compression/CompressBatchTask.php | 2 +- src/network/mcpe/compression/Compressor.php | 2 +- .../compression/DecompressionException.php | 2 +- .../mcpe/compression/ZlibCompressor.php | 2 +- .../mcpe/convert/GlobalItemTypeDictionary.php | 2 +- src/network/mcpe/convert/ItemTranslator.php | 2 +- .../mcpe/convert/LegacySkinAdapter.php | 2 +- .../convert/R12ToCurrentBlockMapEntry.php | 2 +- .../mcpe/convert/RuntimeBlockMapping.php | 2 +- src/network/mcpe/convert/SkinAdapter.php | 2 +- .../mcpe/convert/SkinAdapterSingleton.php | 2 +- .../mcpe/convert/TypeConversionException.php | 2 +- src/network/mcpe/convert/TypeConverter.php | 3 ++- .../mcpe/encryption/DecryptionException.php | 2 +- .../mcpe/encryption/EncryptionContext.php | 2 +- .../mcpe/encryption/EncryptionUtils.php | 2 +- .../mcpe/encryption/PrepareEncryptionTask.php | 2 +- .../mcpe/handler/DeathPacketHandler.php | 2 +- .../mcpe/handler/HandshakePacketHandler.php | 2 +- .../mcpe/handler/InGamePacketHandler.php | 2 +- .../mcpe/handler/LoginPacketHandler.php | 2 +- src/network/mcpe/handler/PacketHandler.php | 2 +- .../mcpe/handler/PreSpawnPacketHandler.php | 2 +- .../handler/ResourcePacksPacketHandler.php | 2 +- .../handler/SpawnResponsePacketHandler.php | 2 +- .../mcpe/raklib/PthreadsChannelReader.php | 2 +- .../mcpe/raklib/PthreadsChannelWriter.php | 14 ++++++++---- src/network/mcpe/raklib/RakLibInterface.php | 2 +- .../mcpe/raklib/RakLibPacketSender.php | 2 +- src/network/mcpe/raklib/RakLibServer.php | 2 +- .../mcpe/raklib/RakLibThreadCrashInfo.php | 2 +- .../SnoozeAwarePthreadsChannelWriter.php | 2 +- .../mcpe/serializer/ChunkSerializer.php | 2 +- .../query/DedicatedQueryNetworkInterface.php | 2 +- src/network/query/QueryHandler.php | 2 +- src/network/query/QueryInfo.php | 2 +- src/network/upnp/UPnP.php | 2 +- src/network/upnp/UPnPException.php | 2 +- src/network/upnp/UPnPNetworkInterface.php | 2 +- src/permission/BanEntry.php | 2 +- src/permission/BanList.php | 2 +- src/permission/DefaultPermissionNames.php | 2 +- src/permission/DefaultPermissions.php | 2 +- src/permission/Permissible.php | 2 +- src/permission/PermissibleBase.php | 2 +- src/permission/PermissibleDelegateTrait.php | 2 +- src/permission/PermissibleInternal.php | 2 +- src/permission/Permission.php | 2 +- src/permission/PermissionAttachment.php | 2 +- src/permission/PermissionAttachmentInfo.php | 2 +- src/permission/PermissionManager.php | 2 +- src/permission/PermissionParser.php | 2 +- src/permission/PermissionParserException.php | 2 +- src/player/ChunkSelector.php | 2 +- src/player/GameMode.php | 2 +- src/player/IPlayer.php | 2 +- src/player/OfflinePlayer.php | 2 +- src/player/Player.php | 2 +- src/player/PlayerChunkLoader.php | 2 +- src/player/PlayerInfo.php | 2 +- src/player/SurvivalBlockBreakHandler.php | 2 +- src/player/UsedChunkStatus.php | 2 +- src/player/XboxLivePlayerInfo.php | 2 +- src/plugin/ApiVersion.php | 2 +- src/plugin/DisablePluginException.php | 2 +- src/plugin/DiskResourceProvider.php | 2 +- src/plugin/PharPluginLoader.php | 2 +- src/plugin/Plugin.php | 2 +- src/plugin/PluginBase.php | 2 +- src/plugin/PluginDescription.php | 2 +- src/plugin/PluginDescriptionCommandEntry.php | 2 +- .../PluginDescriptionParseException.php | 2 +- src/plugin/PluginEnableOrder.php | 2 +- src/plugin/PluginException.php | 2 +- src/plugin/PluginGraylist.php | 2 +- src/plugin/PluginLoadTriage.php | 2 +- src/plugin/PluginLoadTriageEntry.php | 2 +- src/plugin/PluginLoadabilityChecker.php | 2 +- src/plugin/PluginLoader.php | 2 +- src/plugin/PluginLogger.php | 2 +- src/plugin/PluginManager.php | 2 +- src/plugin/PluginOwned.php | 2 +- src/plugin/PluginOwnedTrait.php | 2 +- src/plugin/ResourceProvider.php | 2 +- src/plugin/ScriptPluginLoader.php | 2 +- src/promise/Promise.php | 2 +- src/promise/PromiseResolver.php | 2 +- src/promise/PromiseSharedData.php | 2 +- src/resourcepacks/ResourcePack.php | 2 +- src/resourcepacks/ResourcePackException.php | 2 +- src/resourcepacks/ResourcePackManager.php | 2 +- src/resourcepacks/ZippedResourcePack.php | 2 +- src/resourcepacks/json/Manifest.php | 2 +- .../json/ManifestDependencyEntry.php | 2 +- src/resourcepacks/json/ManifestHeader.php | 2 +- src/resourcepacks/json/ManifestMetadata.php | 2 +- .../json/ManifestModuleEntry.php | 2 +- src/scheduler/AsyncPool.php | 2 +- src/scheduler/AsyncTask.php | 2 +- src/scheduler/AsyncWorker.php | 2 +- src/scheduler/BulkCurlTask.php | 2 +- src/scheduler/BulkCurlTaskOperation.php | 2 +- src/scheduler/CancelTaskException.php | 2 +- src/scheduler/ClosureTask.php | 2 +- src/scheduler/DumpWorkerMemoryTask.php | 2 +- src/scheduler/GarbageCollectionTask.php | 2 +- src/scheduler/Task.php | 2 +- src/scheduler/TaskHandler.php | 2 +- src/scheduler/TaskScheduler.php | 2 +- src/stats/SendUsageTask.php | 2 +- src/thread/CommonThreadPartsTrait.php | 2 +- src/thread/Thread.php | 2 +- src/thread/ThreadException.php | 2 +- src/thread/ThreadManager.php | 2 +- src/thread/Worker.php | 2 +- src/timings/Timings.php | 2 +- src/timings/TimingsHandler.php | 2 +- src/timings/TimingsRecord.php | 2 +- src/updater/UpdateCheckTask.php | 2 +- src/updater/UpdateChecker.php | 2 +- src/updater/UpdateInfo.php | 2 +- src/utils/AssumptionFailedError.php | 2 +- src/utils/CloningRegistryTrait.php | 2 +- src/utils/Config.php | 2 +- src/utils/ConfigLoadException.php | 2 +- src/utils/DestructorCallbackTrait.php | 2 +- src/utils/EnumTrait.php | 2 +- src/utils/Filesystem.php | 2 +- src/utils/Git.php | 2 +- src/utils/Internet.php | 2 +- src/utils/InternetException.php | 2 +- src/utils/InternetRequestResult.php | 2 +- src/utils/MainLogger.php | 2 +- src/utils/MainLoggerThread.php | 2 +- src/utils/NotCloneable.php | 2 +- src/utils/NotSerializable.php | 2 +- src/utils/ObjectSet.php | 2 +- src/utils/Process.php | 2 +- src/utils/Random.php | 2 +- src/utils/RegistryTrait.php | 2 +- src/utils/ReversePriorityQueue.php | 2 +- src/utils/ServerException.php | 2 +- src/utils/ServerKiller.php | 2 +- src/utils/SignalHandler.php | 2 +- src/utils/SingletonTrait.php | 2 +- src/utils/StringToTParser.php | 2 +- src/utils/Terminal.php | 2 +- src/utils/TextFormat.php | 2 +- src/utils/Timezone.php | 2 +- src/utils/Utils.php | 2 +- src/utils/VersionString.php | 2 +- src/wizard/SetupWizard.php | 2 +- src/world/BlockTransaction.php | 2 +- src/world/ChunkListener.php | 2 +- src/world/ChunkListenerNoOpTrait.php | 2 +- src/world/ChunkLoader.php | 2 +- src/world/ChunkLockId.php | 2 +- src/world/ChunkManager.php | 2 +- src/world/Explosion.php | 2 +- src/world/Position.php | 2 +- src/world/SimpleChunkManager.php | 2 +- src/world/TickingChunkLoader.php | 2 +- src/world/World.php | 2 +- src/world/WorldCreationOptions.php | 2 +- src/world/WorldException.php | 2 +- src/world/WorldManager.php | 2 +- src/world/WorldTimings.php | 2 +- src/world/biome/Biome.php | 2 +- src/world/biome/BiomeRegistry.php | 2 +- src/world/biome/DesertBiome.php | 2 +- src/world/biome/ForestBiome.php | 2 +- src/world/biome/GrassyBiome.php | 2 +- src/world/biome/HellBiome.php | 2 +- src/world/biome/IcePlainsBiome.php | 2 +- src/world/biome/MountainsBiome.php | 2 +- src/world/biome/OceanBiome.php | 2 +- src/world/biome/PlainBiome.php | 2 +- src/world/biome/RiverBiome.php | 2 +- src/world/biome/SandyBiome.php | 2 +- src/world/biome/SmallMountainsBiome.php | 2 +- src/world/biome/SnowyBiome.php | 2 +- src/world/biome/SwampBiome.php | 2 +- src/world/biome/TaigaBiome.php | 2 +- src/world/biome/UnknownBiome.php | 2 +- src/world/format/BiomeArray.php | 2 +- src/world/format/Chunk.php | 2 +- src/world/format/ChunkException.php | 2 +- src/world/format/HeightArray.php | 2 +- src/world/format/SubChunk.php | 2 +- src/world/format/io/BaseWorldProvider.php | 2 +- src/world/format/io/ChunkData.php | 2 +- src/world/format/io/ChunkUtils.php | 2 +- src/world/format/io/FastChunkSerializer.php | 2 +- src/world/format/io/FormatConverter.php | 2 +- .../io/ReadOnlyWorldProviderManagerEntry.php | 2 +- src/world/format/io/WorldData.php | 2 +- src/world/format/io/WorldProvider.php | 2 +- src/world/format/io/WorldProviderManager.php | 2 +- .../format/io/WorldProviderManagerEntry.php | 2 +- src/world/format/io/WritableWorldProvider.php | 2 +- .../io/WritableWorldProviderManagerEntry.php | 2 +- src/world/format/io/data/BaseNbtWorldData.php | 2 +- src/world/format/io/data/BedrockWorldData.php | 2 +- src/world/format/io/data/JavaWorldData.php | 2 +- .../io/exception/CorruptedChunkException.php | 2 +- .../io/exception/CorruptedWorldException.php | 2 +- .../UnsupportedWorldFormatException.php | 2 +- src/world/format/io/leveldb/ChunkDataKey.php | 2 +- src/world/format/io/leveldb/ChunkVersion.php | 2 +- src/world/format/io/leveldb/LevelDB.php | 2 +- .../format/io/leveldb/SubChunkVersion.php | 2 +- src/world/format/io/region/Anvil.php | 2 +- .../io/region/CorruptedRegionException.php | 2 +- .../io/region/LegacyAnvilChunkTrait.php | 2 +- src/world/format/io/region/McRegion.php | 2 +- src/world/format/io/region/PMAnvil.php | 2 +- .../format/io/region/RegionException.php | 2 +- .../format/io/region/RegionGarbageMap.php | 2 +- src/world/format/io/region/RegionLoader.php | 2 +- .../io/region/RegionLocationTableEntry.php | 2 +- .../format/io/region/RegionWorldProvider.php | 2 +- .../io/region/WritableRegionWorldProvider.php | 2 +- src/world/generator/Flat.php | 2 +- src/world/generator/FlatGeneratorOptions.php | 2 +- src/world/generator/Gaussian.php | 2 +- src/world/generator/Generator.php | 2 +- src/world/generator/GeneratorManager.php | 2 +- src/world/generator/GeneratorManagerEntry.php | 2 +- src/world/generator/GeneratorRegisterTask.php | 2 +- .../generator/GeneratorUnregisterTask.php | 2 +- .../InvalidGeneratorOptionsException.php | 2 +- src/world/generator/PopulationTask.php | 2 +- .../generator/ThreadLocalGeneratorContext.php | 2 +- src/world/generator/biome/BiomeSelector.php | 2 +- src/world/generator/hell/Nether.php | 2 +- src/world/generator/noise/Noise.php | 2 +- src/world/generator/noise/Simplex.php | 2 +- src/world/generator/normal/Normal.php | 2 +- src/world/generator/object/BirchTree.php | 2 +- src/world/generator/object/JungleTree.php | 2 +- src/world/generator/object/OakTree.php | 2 +- src/world/generator/object/Ore.php | 2 +- src/world/generator/object/OreType.php | 2 +- src/world/generator/object/SpruceTree.php | 2 +- src/world/generator/object/TallGrass.php | 2 +- src/world/generator/object/Tree.php | 2 +- src/world/generator/object/TreeFactory.php | 2 +- src/world/generator/populator/GroundCover.php | 2 +- src/world/generator/populator/Ore.php | 2 +- src/world/generator/populator/Populator.php | 2 +- src/world/generator/populator/TallGrass.php | 2 +- src/world/generator/populator/Tree.php | 2 +- src/world/light/BlockLightUpdate.php | 2 +- src/world/light/LightPopulationTask.php | 2 +- src/world/light/LightPropagationContext.php | 2 +- src/world/light/LightUpdate.php | 2 +- src/world/light/SkyLightUpdate.php | 2 +- src/world/particle/AngryVillagerParticle.php | 2 +- src/world/particle/BlockBreakParticle.php | 2 +- .../particle/BlockForceFieldParticle.php | 2 +- src/world/particle/BlockPunchParticle.php | 2 +- src/world/particle/BubbleParticle.php | 2 +- src/world/particle/CriticalParticle.php | 2 +- .../particle/DragonEggTeleportParticle.php | 2 +- src/world/particle/DustParticle.php | 2 +- src/world/particle/EnchantParticle.php | 2 +- .../particle/EnchantmentTableParticle.php | 2 +- .../particle/EndermanTeleportParticle.php | 2 +- src/world/particle/EntityFlameParticle.php | 2 +- src/world/particle/ExplodeParticle.php | 2 +- src/world/particle/FlameParticle.php | 2 +- src/world/particle/FloatingTextParticle.php | 2 +- src/world/particle/HappyVillagerParticle.php | 2 +- src/world/particle/HeartParticle.php | 2 +- src/world/particle/HugeExplodeParticle.php | 2 +- .../particle/HugeExplodeSeedParticle.php | 2 +- src/world/particle/InkParticle.php | 2 +- src/world/particle/InstantEnchantParticle.php | 2 +- src/world/particle/ItemBreakParticle.php | 2 +- src/world/particle/LavaDripParticle.php | 2 +- src/world/particle/LavaParticle.php | 2 +- src/world/particle/MobSpawnParticle.php | 2 +- src/world/particle/Particle.php | 2 +- src/world/particle/PortalParticle.php | 2 +- src/world/particle/PotionSplashParticle.php | 2 +- src/world/particle/RainSplashParticle.php | 2 +- src/world/particle/RedstoneParticle.php | 2 +- src/world/particle/SmokeParticle.php | 2 +- src/world/particle/SnowballPoofParticle.php | 2 +- src/world/particle/SplashParticle.php | 2 +- src/world/particle/SporeParticle.php | 2 +- src/world/particle/TerrainParticle.php | 2 +- src/world/particle/WaterDripParticle.php | 2 +- src/world/particle/WaterParticle.php | 2 +- src/world/sound/AnvilBreakSound.php | 2 +- src/world/sound/AnvilFallSound.php | 2 +- src/world/sound/AnvilUseSound.php | 2 +- src/world/sound/ArrowHitSound.php | 2 +- src/world/sound/BarrelCloseSound.php | 2 +- src/world/sound/BarrelOpenSound.php | 2 +- src/world/sound/BellRingSound.php | 2 +- src/world/sound/BlastFurnaceSound.php | 2 +- src/world/sound/BlazeShootSound.php | 2 +- src/world/sound/BlockBreakSound.php | 2 +- src/world/sound/BlockPlaceSound.php | 2 +- src/world/sound/BlockPunchSound.php | 2 +- src/world/sound/BowShootSound.php | 2 +- src/world/sound/BucketEmptyLavaSound.php | 2 +- src/world/sound/BucketEmptyWaterSound.php | 2 +- src/world/sound/BucketFillLavaSound.php | 2 +- src/world/sound/BucketFillWaterSound.php | 2 +- src/world/sound/ChestCloseSound.php | 2 +- src/world/sound/ChestOpenSound.php | 2 +- src/world/sound/ClickSound.php | 2 +- src/world/sound/DoorBumpSound.php | 2 +- src/world/sound/DoorCrashSound.php | 2 +- src/world/sound/DoorSound.php | 2 +- src/world/sound/EnderChestCloseSound.php | 2 +- src/world/sound/EnderChestOpenSound.php | 2 +- src/world/sound/EndermanTeleportSound.php | 2 +- src/world/sound/EntityAttackNoDamageSound.php | 2 +- src/world/sound/EntityAttackSound.php | 2 +- src/world/sound/EntityLandSound.php | 2 +- src/world/sound/EntityLongFallSound.php | 2 +- src/world/sound/EntityShortFallSound.php | 2 +- src/world/sound/ExplodeSound.php | 2 +- src/world/sound/FireExtinguishSound.php | 2 +- src/world/sound/FizzSound.php | 2 +- src/world/sound/FlintSteelSound.php | 2 +- src/world/sound/FurnaceSound.php | 2 +- src/world/sound/GhastShootSound.php | 2 +- src/world/sound/GhastSound.php | 2 +- src/world/sound/IgniteSound.php | 2 +- src/world/sound/ItemBreakSound.php | 2 +- src/world/sound/ItemUseOnBlockSound.php | 2 +- src/world/sound/LaunchSound.php | 2 +- src/world/sound/LecternPlaceBookSound.php | 2 +- src/world/sound/NoteInstrument.php | 2 +- src/world/sound/NoteSound.php | 2 +- src/world/sound/PaintingPlaceSound.php | 2 +- src/world/sound/PopSound.php | 2 +- src/world/sound/PotionFinishBrewingSound.php | 2 +- src/world/sound/PotionSplashSound.php | 2 +- src/world/sound/RecordSound.php | 2 +- src/world/sound/RecordStopSound.php | 2 +- src/world/sound/RedstonePowerOffSound.php | 2 +- src/world/sound/RedstonePowerOnSound.php | 2 +- src/world/sound/ShulkerBoxCloseSound.php | 2 +- src/world/sound/ShulkerBoxOpenSound.php | 2 +- src/world/sound/SmokerSound.php | 2 +- src/world/sound/Sound.php | 2 +- src/world/sound/ThrowSound.php | 2 +- src/world/sound/TotemUseSound.php | 2 +- src/world/sound/XpCollectSound.php | 2 +- src/world/sound/XpLevelUpSound.php | 2 +- src/world/utils/SubChunkExplorer.php | 2 +- src/world/utils/SubChunkExplorerStatus.php | 2 +- tests/phpstan/bootstrap.php | 2 +- .../rules/DisallowEnumComparisonRule.php | 2 +- .../rules/UnsafeForeachArrayOfStringRule.php | 2 +- tests/phpunit/block/BlockTest.php | 2 +- tests/phpunit/block/BrewingStandTest.php | 2 +- tests/phpunit/block/MyCustomBlock.php | 2 +- tests/phpunit/block/OutOfBoundsBlock.php | 2 +- tests/phpunit/block/StrangeNewBlock.php | 2 +- .../block/regenerate_consistency_check.php | 2 +- tests/phpunit/block/utils/SignTextTest.php | 2 +- .../command/utils/CommandStringHelperTest.php | 2 +- .../data/bedrock/CoralTypeIdMapTest.php | 2 +- .../data/bedrock/DyeColorIdMapTest.php | 2 +- .../phpunit/data/bedrock/EffectIdMapTest.php | 2 +- .../data/bedrock/EnchantmentIdMapTest.php | 2 +- .../phpunit/event/HandlerListManagerTest.php | 2 +- .../event/TestAbstractAllowHandleEvent.php | 2 +- tests/phpunit/event/TestAbstractEvent.php | 2 +- tests/phpunit/event/TestConcreteEvent.php | 2 +- .../TestConcreteExtendsAbstractEvent.php | 2 +- .../TestConcreteExtendsAllowHandleEvent.php | 2 +- .../TestConcreteExtendsConcreteEvent.php | 2 +- tests/phpunit/inventory/BaseInventoryTest.php | 2 +- tests/phpunit/item/BannerTest.php | 2 +- tests/phpunit/item/ItemFactoryTest.php | 2 +- tests/phpunit/item/ItemTest.php | 2 +- .../item/LegacyStringToItemParserTest.php | 2 +- .../mcpe/handler/StupidJsonDecodeTest.php | 2 +- tests/phpunit/plugin/ApiVersionTest.php | 2 +- tests/phpunit/scheduler/AsyncPoolTest.php | 2 +- tests/phpunit/scheduler/LeakTestAsyncTask.php | 2 +- .../PublishProgressRaceAsyncTask.php | 2 +- tests/phpunit/scheduler/TaskSchedulerTest.php | 2 +- .../utils/CloningRegistryTraitTest.php | 2 +- tests/phpunit/utils/ConfigTest.php | 2 +- tests/phpunit/utils/EnumTraitTest.php | 2 +- tests/phpunit/utils/RandomTest.php | 2 +- tests/phpunit/utils/TestCloningRegistry.php | 2 +- tests/phpunit/utils/TestEnum.php | 2 +- tests/phpunit/utils/UtilsTest.php | 2 +- .../utils/fixtures/TestAbstractClass.php | 19 ++++++++++++++++ .../utils/fixtures/TestInstantiableClass.php | 19 ++++++++++++++++ .../phpunit/utils/fixtures/TestInterface.php | 19 ++++++++++++++++ .../TestSubclassOfInstantiableClass.php | 19 ++++++++++++++++ tests/phpunit/utils/fixtures/TestTrait.php | 19 ++++++++++++++++ tests/phpunit/world/format/ChunkTest.php | 2 +- tests/phpunit/world/format/SubChunkTest.php | 2 +- .../format/io/region/RegionLoaderTest.php | 2 +- .../region/RegionLocationTableEntryTest.php | 2 +- tests/plugins/TesterPlugin/src/Main.php | 2 +- tests/plugins/TesterPlugin/src/Test.php | 2 +- .../TesterPlugin/src/TestFailedException.php | 2 +- tools/compact-regions.php | 2 +- tools/convert-world.php | 2 +- tools/generate-permission-doc.php | 2 +- tools/ping-server.php | 2 +- tools/simulate-chunk-selector.php | 19 ++++++++++++++++ 1175 files changed, 1350 insertions(+), 1169 deletions(-) diff --git a/.idea/fileTemplates/includes/PHP File Header.php b/.idea/fileTemplates/includes/PHP File Header.php index cbd387027..db6ec1e13 100644 --- a/.idea/fileTemplates/includes/PHP File Header.php +++ b/.idea/fileTemplates/includes/PHP File Header.php @@ -16,6 +16,6 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); \ No newline at end of file diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 3fbdf33bb..59d42fdf1 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -42,6 +42,28 @@ return (new PhpCsFixer\Config) 'import_functions' => true, 'import_classes' => null, ], + 'header_comment' => [ + 'comment_type' => 'comment', + 'header' => << 'after_open' + ], 'indentation_type' => true, 'logical_operators' => true, 'native_function_invocation' => [ diff --git a/build/generate-build-info-json.php b/build/generate-build-info-json.php index dd353fd7c..b4e92f7d6 100644 --- a/build/generate-build-info-json.php +++ b/build/generate-build-info-json.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/generate-known-translation-apis.php b/build/generate-known-translation-apis.php index a85cbb1b3..ce606a3de 100644 --- a/build/generate-known-translation-apis.php +++ b/build/generate-known-translation-apis.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/generate-registry-annotations.php b/build/generate-registry-annotations.php index e177871e9..2d271de98 100644 --- a/build/generate-registry-annotations.php +++ b/build/generate-registry-annotations.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/make-release.php b/build/make-release.php index d641d44ad..2701c7500 100644 --- a/build/make-release.php +++ b/build/make-release.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/build/server-phar.php b/build/server-phar.php index 2f5aa1050..f3d26a2c4 100644 --- a/build/server-phar.php +++ b/build/server-phar.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/CoreConstants.php b/src/CoreConstants.php index 46e00a2a3..7b0345b1c 100644 --- a/src/CoreConstants.php +++ b/src/CoreConstants.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/MemoryManager.php b/src/MemoryManager.php index 322086053..49a728c89 100644 --- a/src/MemoryManager.php +++ b/src/MemoryManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/Server.php b/src/Server.php index efc13c027..2b78580a8 100644 --- a/src/Server.php +++ b/src/Server.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/ServerConfigGroup.php b/src/ServerConfigGroup.php index 1c148b930..0a3b09c87 100644 --- a/src/ServerConfigGroup.php +++ b/src/ServerConfigGroup.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 5c9d27b32..4a5a3b369 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ActivatorRail.php b/src/block/ActivatorRail.php index d842be041..dcd0ef93b 100644 --- a/src/block/ActivatorRail.php +++ b/src/block/ActivatorRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Air.php b/src/block/Air.php index 624af39df..6023143f6 100644 --- a/src/block/Air.php +++ b/src/block/Air.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Anvil.php b/src/block/Anvil.php index d4f2e239e..785d59afd 100644 --- a/src/block/Anvil.php +++ b/src/block/Anvil.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bamboo.php b/src/block/Bamboo.php index 8f61b36eb..427b0b8e7 100644 --- a/src/block/Bamboo.php +++ b/src/block/Bamboo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BambooSapling.php b/src/block/BambooSapling.php index 8f847925d..a00361416 100644 --- a/src/block/BambooSapling.php +++ b/src/block/BambooSapling.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Barrel.php b/src/block/Barrel.php index a9d992abf..bcd8621ad 100644 --- a/src/block/Barrel.php +++ b/src/block/Barrel.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseBanner.php b/src/block/BaseBanner.php index 708254afd..2eeb42d74 100644 --- a/src/block/BaseBanner.php +++ b/src/block/BaseBanner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseCoral.php b/src/block/BaseCoral.php index 2fb217e19..f3bb9255d 100644 --- a/src/block/BaseCoral.php +++ b/src/block/BaseCoral.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseRail.php b/src/block/BaseRail.php index 0c91f735a..933763122 100644 --- a/src/block/BaseRail.php +++ b/src/block/BaseRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BaseSign.php b/src/block/BaseSign.php index e201a2d72..fec71e58d 100644 --- a/src/block/BaseSign.php +++ b/src/block/BaseSign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Beacon.php b/src/block/Beacon.php index ef09968bb..5f2f42541 100644 --- a/src/block/Beacon.php +++ b/src/block/Beacon.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bed.php b/src/block/Bed.php index 48189b601..7ce2fa70b 100644 --- a/src/block/Bed.php +++ b/src/block/Bed.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bedrock.php b/src/block/Bedrock.php index e794e3958..3bb42560f 100644 --- a/src/block/Bedrock.php +++ b/src/block/Bedrock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Beetroot.php b/src/block/Beetroot.php index 8f8c25d3d..5afbe4412 100644 --- a/src/block/Beetroot.php +++ b/src/block/Beetroot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bell.php b/src/block/Bell.php index 19a86edef..c75d7d785 100644 --- a/src/block/Bell.php +++ b/src/block/Bell.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Block.php b/src/block/Block.php index c388dd58a..a7839e8ee 100644 --- a/src/block/Block.php +++ b/src/block/Block.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockBreakInfo.php b/src/block/BlockBreakInfo.php index 8954f6f51..a2d43efbc 100644 --- a/src/block/BlockBreakInfo.php +++ b/src/block/BlockBreakInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockFactory.php b/src/block/BlockFactory.php index fee183005..5f4676584 100644 --- a/src/block/BlockFactory.php +++ b/src/block/BlockFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockIdentifier.php b/src/block/BlockIdentifier.php index 8180a4e2e..664aab3d0 100644 --- a/src/block/BlockIdentifier.php +++ b/src/block/BlockIdentifier.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockIdentifierFlattened.php b/src/block/BlockIdentifierFlattened.php index 1eca84d52..3e390049e 100644 --- a/src/block/BlockIdentifierFlattened.php +++ b/src/block/BlockIdentifierFlattened.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockLegacyIdHelper.php b/src/block/BlockLegacyIdHelper.php index 945053824..50d6b86b4 100644 --- a/src/block/BlockLegacyIdHelper.php +++ b/src/block/BlockLegacyIdHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockLegacyIds.php b/src/block/BlockLegacyIds.php index c846c74fc..f4757e357 100644 --- a/src/block/BlockLegacyIds.php +++ b/src/block/BlockLegacyIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockLegacyMetadata.php b/src/block/BlockLegacyMetadata.php index 22085c427..d192a3c94 100644 --- a/src/block/BlockLegacyMetadata.php +++ b/src/block/BlockLegacyMetadata.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlockToolType.php b/src/block/BlockToolType.php index 8e6c36cd7..99e56a81e 100644 --- a/src/block/BlockToolType.php +++ b/src/block/BlockToolType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BlueIce.php b/src/block/BlueIce.php index bcd39d24c..f7e9a0404 100644 --- a/src/block/BlueIce.php +++ b/src/block/BlueIce.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BoneBlock.php b/src/block/BoneBlock.php index d00ab63f3..4c69e535f 100644 --- a/src/block/BoneBlock.php +++ b/src/block/BoneBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Bookshelf.php b/src/block/Bookshelf.php index 2c4ec12a6..93f89a4cd 100644 --- a/src/block/Bookshelf.php +++ b/src/block/Bookshelf.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BrewingStand.php b/src/block/BrewingStand.php index be1f7858b..c1840502e 100644 --- a/src/block/BrewingStand.php +++ b/src/block/BrewingStand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BrownMushroom.php b/src/block/BrownMushroom.php index 47b3bc7e6..4312e427b 100644 --- a/src/block/BrownMushroom.php +++ b/src/block/BrownMushroom.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/BrownMushroomBlock.php b/src/block/BrownMushroomBlock.php index 09b183491..e15fa04ef 100644 --- a/src/block/BrownMushroomBlock.php +++ b/src/block/BrownMushroomBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Button.php b/src/block/Button.php index fe85d52f9..967e0d4f0 100644 --- a/src/block/Button.php +++ b/src/block/Button.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Cactus.php b/src/block/Cactus.php index 5ed929db6..987bea144 100644 --- a/src/block/Cactus.php +++ b/src/block/Cactus.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Cake.php b/src/block/Cake.php index ebde23012..803f431b2 100644 --- a/src/block/Cake.php +++ b/src/block/Cake.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Carpet.php b/src/block/Carpet.php index 54a1b4abe..4d90d4e16 100644 --- a/src/block/Carpet.php +++ b/src/block/Carpet.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Carrot.php b/src/block/Carrot.php index 9b94fad78..c03d10737 100644 --- a/src/block/Carrot.php +++ b/src/block/Carrot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CarvedPumpkin.php b/src/block/CarvedPumpkin.php index d4513a08d..7c99c1531 100644 --- a/src/block/CarvedPumpkin.php +++ b/src/block/CarvedPumpkin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ChemicalHeat.php b/src/block/ChemicalHeat.php index 55cc7b9e0..a803a0e69 100644 --- a/src/block/ChemicalHeat.php +++ b/src/block/ChemicalHeat.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ChemistryTable.php b/src/block/ChemistryTable.php index 3ec37718f..fb2310dcd 100644 --- a/src/block/ChemistryTable.php +++ b/src/block/ChemistryTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Chest.php b/src/block/Chest.php index a65120d63..59c21e1b6 100644 --- a/src/block/Chest.php +++ b/src/block/Chest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Clay.php b/src/block/Clay.php index 8e86d4925..4bfe55151 100644 --- a/src/block/Clay.php +++ b/src/block/Clay.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Coal.php b/src/block/Coal.php index 821c422de..cf3156373 100644 --- a/src/block/Coal.php +++ b/src/block/Coal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CoalOre.php b/src/block/CoalOre.php index 3c87560b1..47a0e255d 100644 --- a/src/block/CoalOre.php +++ b/src/block/CoalOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Cobweb.php b/src/block/Cobweb.php index 785db721d..8cd2de4d8 100644 --- a/src/block/Cobweb.php +++ b/src/block/Cobweb.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CocoaBlock.php b/src/block/CocoaBlock.php index 89a1e9d6e..8c01c29cc 100644 --- a/src/block/CocoaBlock.php +++ b/src/block/CocoaBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Concrete.php b/src/block/Concrete.php index 9feb5e093..7e16ee4f6 100644 --- a/src/block/Concrete.php +++ b/src/block/Concrete.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ConcretePowder.php b/src/block/ConcretePowder.php index 6503faf72..340c610b1 100644 --- a/src/block/ConcretePowder.php +++ b/src/block/ConcretePowder.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Coral.php b/src/block/Coral.php index 424639577..6bbd50b73 100644 --- a/src/block/Coral.php +++ b/src/block/Coral.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CoralBlock.php b/src/block/CoralBlock.php index f06172be5..e29591b3d 100644 --- a/src/block/CoralBlock.php +++ b/src/block/CoralBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/CraftingTable.php b/src/block/CraftingTable.php index a35e13e5b..cc837d003 100644 --- a/src/block/CraftingTable.php +++ b/src/block/CraftingTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Crops.php b/src/block/Crops.php index 1979ce31f..d9aa005ea 100644 --- a/src/block/Crops.php +++ b/src/block/Crops.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DaylightSensor.php b/src/block/DaylightSensor.php index e51907c41..c13df4b6a 100644 --- a/src/block/DaylightSensor.php +++ b/src/block/DaylightSensor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DeadBush.php b/src/block/DeadBush.php index 7b5262b49..09754b07d 100644 --- a/src/block/DeadBush.php +++ b/src/block/DeadBush.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DetectorRail.php b/src/block/DetectorRail.php index 935fd0a04..e3eb0a486 100644 --- a/src/block/DetectorRail.php +++ b/src/block/DetectorRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DiamondOre.php b/src/block/DiamondOre.php index 2307d30c2..8407bdf15 100644 --- a/src/block/DiamondOre.php +++ b/src/block/DiamondOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Dirt.php b/src/block/Dirt.php index 390098216..8197f1415 100644 --- a/src/block/Dirt.php +++ b/src/block/Dirt.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Door.php b/src/block/Door.php index 164875df3..191a8fe0f 100644 --- a/src/block/Door.php +++ b/src/block/Door.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DoublePlant.php b/src/block/DoublePlant.php index 155a8e59d..5086891fc 100644 --- a/src/block/DoublePlant.php +++ b/src/block/DoublePlant.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DoubleTallGrass.php b/src/block/DoubleTallGrass.php index f3d98b265..fc37442f5 100644 --- a/src/block/DoubleTallGrass.php +++ b/src/block/DoubleTallGrass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DragonEgg.php b/src/block/DragonEgg.php index 2db6b7b92..db6512a9c 100644 --- a/src/block/DragonEgg.php +++ b/src/block/DragonEgg.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DriedKelp.php b/src/block/DriedKelp.php index b5a05efa5..e75826474 100644 --- a/src/block/DriedKelp.php +++ b/src/block/DriedKelp.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/DyedShulkerBox.php b/src/block/DyedShulkerBox.php index 7c50cacd0..1e950c791 100644 --- a/src/block/DyedShulkerBox.php +++ b/src/block/DyedShulkerBox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Element.php b/src/block/Element.php index edeb80a78..8d6fb7985 100644 --- a/src/block/Element.php +++ b/src/block/Element.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EmeraldOre.php b/src/block/EmeraldOre.php index 09d8f3a5a..6e997223d 100644 --- a/src/block/EmeraldOre.php +++ b/src/block/EmeraldOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EnchantingTable.php b/src/block/EnchantingTable.php index b8a6458c2..b76147840 100644 --- a/src/block/EnchantingTable.php +++ b/src/block/EnchantingTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EndPortalFrame.php b/src/block/EndPortalFrame.php index a80b2cf2c..4f957da72 100644 --- a/src/block/EndPortalFrame.php +++ b/src/block/EndPortalFrame.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EndRod.php b/src/block/EndRod.php index 18fd438b5..d980b63af 100644 --- a/src/block/EndRod.php +++ b/src/block/EndRod.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/EnderChest.php b/src/block/EnderChest.php index 486ba9a44..cf1ec0039 100644 --- a/src/block/EnderChest.php +++ b/src/block/EnderChest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Farmland.php b/src/block/Farmland.php index cdb7c816c..6e1ad13f0 100644 --- a/src/block/Farmland.php +++ b/src/block/Farmland.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Fence.php b/src/block/Fence.php index b1dff5b44..08c9b5eac 100644 --- a/src/block/Fence.php +++ b/src/block/Fence.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FenceGate.php b/src/block/FenceGate.php index 9dfe58847..fefd49b6c 100644 --- a/src/block/FenceGate.php +++ b/src/block/FenceGate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Fire.php b/src/block/Fire.php index b31151c37..b599f65ae 100644 --- a/src/block/Fire.php +++ b/src/block/Fire.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FletchingTable.php b/src/block/FletchingTable.php index 64a71ad97..1808f60bc 100644 --- a/src/block/FletchingTable.php +++ b/src/block/FletchingTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FloorBanner.php b/src/block/FloorBanner.php index 466bce5cb..d2ac152af 100644 --- a/src/block/FloorBanner.php +++ b/src/block/FloorBanner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FloorCoralFan.php b/src/block/FloorCoralFan.php index 9a36f52c9..8572adf73 100644 --- a/src/block/FloorCoralFan.php +++ b/src/block/FloorCoralFan.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FloorSign.php b/src/block/FloorSign.php index 7ee4880dd..13e4a6c9d 100644 --- a/src/block/FloorSign.php +++ b/src/block/FloorSign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Flowable.php b/src/block/Flowable.php index b8609b6d0..c3d6f3eb5 100644 --- a/src/block/Flowable.php +++ b/src/block/Flowable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Flower.php b/src/block/Flower.php index ff2d0344b..31179c882 100644 --- a/src/block/Flower.php +++ b/src/block/Flower.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FlowerPot.php b/src/block/FlowerPot.php index 0c54763af..a60719675 100644 --- a/src/block/FlowerPot.php +++ b/src/block/FlowerPot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/FrostedIce.php b/src/block/FrostedIce.php index c74dfc92c..065caf589 100644 --- a/src/block/FrostedIce.php +++ b/src/block/FrostedIce.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Furnace.php b/src/block/Furnace.php index ff96d0b27..f5a81c524 100644 --- a/src/block/Furnace.php +++ b/src/block/Furnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Glass.php b/src/block/Glass.php index dc1e2f9b8..17b440a04 100644 --- a/src/block/Glass.php +++ b/src/block/Glass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GlassPane.php b/src/block/GlassPane.php index 06342541d..e871e0200 100644 --- a/src/block/GlassPane.php +++ b/src/block/GlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GlazedTerracotta.php b/src/block/GlazedTerracotta.php index 6cd41c8f8..1787e51ae 100644 --- a/src/block/GlazedTerracotta.php +++ b/src/block/GlazedTerracotta.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GlowingObsidian.php b/src/block/GlowingObsidian.php index ff29363f5..016801525 100644 --- a/src/block/GlowingObsidian.php +++ b/src/block/GlowingObsidian.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Glowstone.php b/src/block/Glowstone.php index 38886405f..3b567aa5b 100644 --- a/src/block/Glowstone.php +++ b/src/block/Glowstone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Grass.php b/src/block/Grass.php index 82d42c55f..d0ea0520d 100644 --- a/src/block/Grass.php +++ b/src/block/Grass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/GrassPath.php b/src/block/GrassPath.php index 4a46fe689..7cbb873ef 100644 --- a/src/block/GrassPath.php +++ b/src/block/GrassPath.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Gravel.php b/src/block/Gravel.php index 9cc7f3fea..856449ce0 100644 --- a/src/block/Gravel.php +++ b/src/block/Gravel.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HardenedClay.php b/src/block/HardenedClay.php index d1bcbd472..0ccbc5409 100644 --- a/src/block/HardenedClay.php +++ b/src/block/HardenedClay.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HardenedGlass.php b/src/block/HardenedGlass.php index f9bfdd086..9b0272237 100644 --- a/src/block/HardenedGlass.php +++ b/src/block/HardenedGlass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HardenedGlassPane.php b/src/block/HardenedGlassPane.php index da6a60f53..1177d562a 100644 --- a/src/block/HardenedGlassPane.php +++ b/src/block/HardenedGlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/HayBale.php b/src/block/HayBale.php index 92df9a5fb..e47598ac5 100644 --- a/src/block/HayBale.php +++ b/src/block/HayBale.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Hopper.php b/src/block/Hopper.php index d8fa67851..618862b9b 100644 --- a/src/block/Hopper.php +++ b/src/block/Hopper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Ice.php b/src/block/Ice.php index eb7d6a1df..7edbc2659 100644 --- a/src/block/Ice.php +++ b/src/block/Ice.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/InfestedStone.php b/src/block/InfestedStone.php index 944d0e456..93e0aa3d6 100644 --- a/src/block/InfestedStone.php +++ b/src/block/InfestedStone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ItemFrame.php b/src/block/ItemFrame.php index 33b547eab..3e7a7378a 100644 --- a/src/block/ItemFrame.php +++ b/src/block/ItemFrame.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Jukebox.php b/src/block/Jukebox.php index be8fa7f4c..185426600 100644 --- a/src/block/Jukebox.php +++ b/src/block/Jukebox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Ladder.php b/src/block/Ladder.php index 7885bd13c..fcf2be061 100644 --- a/src/block/Ladder.php +++ b/src/block/Ladder.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lantern.php b/src/block/Lantern.php index c17f1ecc9..0c2fb31ef 100644 --- a/src/block/Lantern.php +++ b/src/block/Lantern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/LapisOre.php b/src/block/LapisOre.php index 7dd434c79..656b0a895 100644 --- a/src/block/LapisOre.php +++ b/src/block/LapisOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lava.php b/src/block/Lava.php index 729393193..05e98e50b 100644 --- a/src/block/Lava.php +++ b/src/block/Lava.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Leaves.php b/src/block/Leaves.php index 8d00611c7..8e7298a0c 100644 --- a/src/block/Leaves.php +++ b/src/block/Leaves.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lectern.php b/src/block/Lectern.php index 6e3e5bd21..e94c5c706 100644 --- a/src/block/Lectern.php +++ b/src/block/Lectern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Lever.php b/src/block/Lever.php index bfbbd9409..c9dfe76bb 100644 --- a/src/block/Lever.php +++ b/src/block/Lever.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Liquid.php b/src/block/Liquid.php index 8aed66253..64018b9df 100644 --- a/src/block/Liquid.php +++ b/src/block/Liquid.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/LitPumpkin.php b/src/block/LitPumpkin.php index 5f555402a..5319fdac9 100644 --- a/src/block/LitPumpkin.php +++ b/src/block/LitPumpkin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Log.php b/src/block/Log.php index eacb817b5..b96a0d380 100644 --- a/src/block/Log.php +++ b/src/block/Log.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Loom.php b/src/block/Loom.php index 976eea46c..9c5f830f7 100644 --- a/src/block/Loom.php +++ b/src/block/Loom.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Magma.php b/src/block/Magma.php index fbff583aa..d2f309325 100644 --- a/src/block/Magma.php +++ b/src/block/Magma.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Melon.php b/src/block/Melon.php index 9536e5c85..6f4e62571 100644 --- a/src/block/Melon.php +++ b/src/block/Melon.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/MelonStem.php b/src/block/MelonStem.php index 0684786c0..d0282a546 100644 --- a/src/block/MelonStem.php +++ b/src/block/MelonStem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/MonsterSpawner.php b/src/block/MonsterSpawner.php index 218dfcc3e..129da3394 100644 --- a/src/block/MonsterSpawner.php +++ b/src/block/MonsterSpawner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/MushroomStem.php b/src/block/MushroomStem.php index 5e61a5b1c..4e1db2903 100644 --- a/src/block/MushroomStem.php +++ b/src/block/MushroomStem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Mycelium.php b/src/block/Mycelium.php index bd6611505..11d00c5d8 100644 --- a/src/block/Mycelium.php +++ b/src/block/Mycelium.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherPortal.php b/src/block/NetherPortal.php index 22d3ca1d7..398b4c468 100644 --- a/src/block/NetherPortal.php +++ b/src/block/NetherPortal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherQuartzOre.php b/src/block/NetherQuartzOre.php index 0eb9365ad..c2ab20491 100644 --- a/src/block/NetherQuartzOre.php +++ b/src/block/NetherQuartzOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherReactor.php b/src/block/NetherReactor.php index 96e5f0640..2c1ee1eb6 100644 --- a/src/block/NetherReactor.php +++ b/src/block/NetherReactor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/NetherWartPlant.php b/src/block/NetherWartPlant.php index 0a809c950..32478cae6 100644 --- a/src/block/NetherWartPlant.php +++ b/src/block/NetherWartPlant.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Netherrack.php b/src/block/Netherrack.php index e9fb51728..d60f5d20a 100644 --- a/src/block/Netherrack.php +++ b/src/block/Netherrack.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Note.php b/src/block/Note.php index 1dc24733a..8417ff8e8 100644 --- a/src/block/Note.php +++ b/src/block/Note.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Opaque.php b/src/block/Opaque.php index 19e16292e..43e4e95d6 100644 --- a/src/block/Opaque.php +++ b/src/block/Opaque.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PackedIce.php b/src/block/PackedIce.php index e6d104f39..3b882659b 100644 --- a/src/block/PackedIce.php +++ b/src/block/PackedIce.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Planks.php b/src/block/Planks.php index b34046cdb..9f780694a 100644 --- a/src/block/Planks.php +++ b/src/block/Planks.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Podzol.php b/src/block/Podzol.php index 0eeba12c8..4eb720573 100644 --- a/src/block/Podzol.php +++ b/src/block/Podzol.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Potato.php b/src/block/Potato.php index af1443cae..209107156 100644 --- a/src/block/Potato.php +++ b/src/block/Potato.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PoweredRail.php b/src/block/PoweredRail.php index 0c754d57f..25d6dc9e3 100644 --- a/src/block/PoweredRail.php +++ b/src/block/PoweredRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PressurePlate.php b/src/block/PressurePlate.php index 172b05b6a..5610b4e1a 100644 --- a/src/block/PressurePlate.php +++ b/src/block/PressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Pumpkin.php b/src/block/Pumpkin.php index 835c68f31..2f374670e 100644 --- a/src/block/Pumpkin.php +++ b/src/block/Pumpkin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/PumpkinStem.php b/src/block/PumpkinStem.php index fd909a7db..d7b8e2588 100644 --- a/src/block/PumpkinStem.php +++ b/src/block/PumpkinStem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Rail.php b/src/block/Rail.php index 9270b5fae..ea3feba48 100644 --- a/src/block/Rail.php +++ b/src/block/Rail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedMushroom.php b/src/block/RedMushroom.php index 567c36589..9be005d17 100644 --- a/src/block/RedMushroom.php +++ b/src/block/RedMushroom.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedMushroomBlock.php b/src/block/RedMushroomBlock.php index a41b031f5..820a0e5f8 100644 --- a/src/block/RedMushroomBlock.php +++ b/src/block/RedMushroomBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Redstone.php b/src/block/Redstone.php index c149650d7..6d4a7ad8f 100644 --- a/src/block/Redstone.php +++ b/src/block/Redstone.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneComparator.php b/src/block/RedstoneComparator.php index 311fed636..c7396d119 100644 --- a/src/block/RedstoneComparator.php +++ b/src/block/RedstoneComparator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneLamp.php b/src/block/RedstoneLamp.php index b0f7bc9bc..5507881f5 100644 --- a/src/block/RedstoneLamp.php +++ b/src/block/RedstoneLamp.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneOre.php b/src/block/RedstoneOre.php index f402eacf8..1557634a8 100644 --- a/src/block/RedstoneOre.php +++ b/src/block/RedstoneOre.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneRepeater.php b/src/block/RedstoneRepeater.php index 114823ed7..2fbd0b259 100644 --- a/src/block/RedstoneRepeater.php +++ b/src/block/RedstoneRepeater.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneTorch.php b/src/block/RedstoneTorch.php index 43f6fbe64..b5de4898b 100644 --- a/src/block/RedstoneTorch.php +++ b/src/block/RedstoneTorch.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/RedstoneWire.php b/src/block/RedstoneWire.php index 1c85694df..e744c1849 100644 --- a/src/block/RedstoneWire.php +++ b/src/block/RedstoneWire.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Reserved6.php b/src/block/Reserved6.php index e2c6922e2..a6766454e 100644 --- a/src/block/Reserved6.php +++ b/src/block/Reserved6.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sand.php b/src/block/Sand.php index e64b73d22..17fc80a20 100644 --- a/src/block/Sand.php +++ b/src/block/Sand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sapling.php b/src/block/Sapling.php index 9709032c5..fb67dbc46 100644 --- a/src/block/Sapling.php +++ b/src/block/Sapling.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SeaLantern.php b/src/block/SeaLantern.php index ffcf8e7aa..27ed73f0d 100644 --- a/src/block/SeaLantern.php +++ b/src/block/SeaLantern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SeaPickle.php b/src/block/SeaPickle.php index b01d4d94e..39917aded 100644 --- a/src/block/SeaPickle.php +++ b/src/block/SeaPickle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/ShulkerBox.php b/src/block/ShulkerBox.php index 672cc1a11..de8cefeb8 100644 --- a/src/block/ShulkerBox.php +++ b/src/block/ShulkerBox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SimplePillar.php b/src/block/SimplePillar.php index 50be03be5..72750e000 100644 --- a/src/block/SimplePillar.php +++ b/src/block/SimplePillar.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SimplePressurePlate.php b/src/block/SimplePressurePlate.php index 293106fd1..4ad9c5ce4 100644 --- a/src/block/SimplePressurePlate.php +++ b/src/block/SimplePressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Skull.php b/src/block/Skull.php index 84542635b..ee6ff1a76 100644 --- a/src/block/Skull.php +++ b/src/block/Skull.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Slab.php b/src/block/Slab.php index bb38ba6ca..f3b21a5b8 100644 --- a/src/block/Slab.php +++ b/src/block/Slab.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Slime.php b/src/block/Slime.php index 221221932..ac9518f6f 100644 --- a/src/block/Slime.php +++ b/src/block/Slime.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Snow.php b/src/block/Snow.php index eabe616ce..8ddde8c6f 100644 --- a/src/block/Snow.php +++ b/src/block/Snow.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SnowLayer.php b/src/block/SnowLayer.php index 0a90676b1..4e65b5eeb 100644 --- a/src/block/SnowLayer.php +++ b/src/block/SnowLayer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SoulSand.php b/src/block/SoulSand.php index 46ec341c7..2c6453b6c 100644 --- a/src/block/SoulSand.php +++ b/src/block/SoulSand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sponge.php b/src/block/Sponge.php index 5ccf766ab..eb69c64c0 100644 --- a/src/block/Sponge.php +++ b/src/block/Sponge.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedGlass.php b/src/block/StainedGlass.php index 96f34f85d..422d38dde 100644 --- a/src/block/StainedGlass.php +++ b/src/block/StainedGlass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedGlassPane.php b/src/block/StainedGlassPane.php index 155e802e5..4514991db 100644 --- a/src/block/StainedGlassPane.php +++ b/src/block/StainedGlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedHardenedClay.php b/src/block/StainedHardenedClay.php index f163c801d..8d07bc0a3 100644 --- a/src/block/StainedHardenedClay.php +++ b/src/block/StainedHardenedClay.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedHardenedGlass.php b/src/block/StainedHardenedGlass.php index 8c2711d9c..591384182 100644 --- a/src/block/StainedHardenedGlass.php +++ b/src/block/StainedHardenedGlass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StainedHardenedGlassPane.php b/src/block/StainedHardenedGlassPane.php index 05cb2632f..ea9f213d3 100644 --- a/src/block/StainedHardenedGlassPane.php +++ b/src/block/StainedHardenedGlassPane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Stair.php b/src/block/Stair.php index 437fd8e13..6ffc68be0 100644 --- a/src/block/Stair.php +++ b/src/block/Stair.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Stem.php b/src/block/Stem.php index c7fd444af..b17a5c646 100644 --- a/src/block/Stem.php +++ b/src/block/Stem.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StoneButton.php b/src/block/StoneButton.php index 110438b58..dad137899 100644 --- a/src/block/StoneButton.php +++ b/src/block/StoneButton.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StonePressurePlate.php b/src/block/StonePressurePlate.php index cd8bed86b..626e6d885 100644 --- a/src/block/StonePressurePlate.php +++ b/src/block/StonePressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Stonecutter.php b/src/block/Stonecutter.php index d37950e4f..e16b00236 100644 --- a/src/block/Stonecutter.php +++ b/src/block/Stonecutter.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/StraightOnlyRail.php b/src/block/StraightOnlyRail.php index a4d620368..37c88012f 100644 --- a/src/block/StraightOnlyRail.php +++ b/src/block/StraightOnlyRail.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Sugarcane.php b/src/block/Sugarcane.php index b90efa77e..c2109645e 100644 --- a/src/block/Sugarcane.php +++ b/src/block/Sugarcane.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/SweetBerryBush.php b/src/block/SweetBerryBush.php index 2de41cd11..5f1163bc8 100644 --- a/src/block/SweetBerryBush.php +++ b/src/block/SweetBerryBush.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TNT.php b/src/block/TNT.php index 5af0b5267..561e36e37 100644 --- a/src/block/TNT.php +++ b/src/block/TNT.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TallGrass.php b/src/block/TallGrass.php index b77a828fe..586b15703 100644 --- a/src/block/TallGrass.php +++ b/src/block/TallGrass.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Thin.php b/src/block/Thin.php index ba2fb0bd9..ad5824494 100644 --- a/src/block/Thin.php +++ b/src/block/Thin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Torch.php b/src/block/Torch.php index 03827df1d..ded081bcc 100644 --- a/src/block/Torch.php +++ b/src/block/Torch.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Transparent.php b/src/block/Transparent.php index 46fe7217a..b4489cebf 100644 --- a/src/block/Transparent.php +++ b/src/block/Transparent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Trapdoor.php b/src/block/Trapdoor.php index 64f92b62e..054737d74 100644 --- a/src/block/Trapdoor.php +++ b/src/block/Trapdoor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TrappedChest.php b/src/block/TrappedChest.php index 72f8c7a97..2980a6b08 100644 --- a/src/block/TrappedChest.php +++ b/src/block/TrappedChest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Tripwire.php b/src/block/Tripwire.php index ef42dbc67..504ae68eb 100644 --- a/src/block/Tripwire.php +++ b/src/block/Tripwire.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/TripwireHook.php b/src/block/TripwireHook.php index a6f01fc9c..87490d732 100644 --- a/src/block/TripwireHook.php +++ b/src/block/TripwireHook.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/UnderwaterTorch.php b/src/block/UnderwaterTorch.php index a83a7c44a..5429f8526 100644 --- a/src/block/UnderwaterTorch.php +++ b/src/block/UnderwaterTorch.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/UnknownBlock.php b/src/block/UnknownBlock.php index b13ecb48b..81a2af259 100644 --- a/src/block/UnknownBlock.php +++ b/src/block/UnknownBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/VanillaBlocks.php b/src/block/VanillaBlocks.php index f21e5794c..ec3c5a494 100644 --- a/src/block/VanillaBlocks.php +++ b/src/block/VanillaBlocks.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Vine.php b/src/block/Vine.php index 16f684846..947013ebd 100644 --- a/src/block/Vine.php +++ b/src/block/Vine.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wall.php b/src/block/Wall.php index 0ce74d0b0..6860337b9 100644 --- a/src/block/Wall.php +++ b/src/block/Wall.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WallBanner.php b/src/block/WallBanner.php index 1c807461b..c8c218256 100644 --- a/src/block/WallBanner.php +++ b/src/block/WallBanner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WallCoralFan.php b/src/block/WallCoralFan.php index ac158453f..ee0dcc35a 100644 --- a/src/block/WallCoralFan.php +++ b/src/block/WallCoralFan.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WallSign.php b/src/block/WallSign.php index 38a626433..014ad4db0 100644 --- a/src/block/WallSign.php +++ b/src/block/WallSign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Water.php b/src/block/Water.php index ff638a8f9..b711ab5a1 100644 --- a/src/block/Water.php +++ b/src/block/Water.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WaterLily.php b/src/block/WaterLily.php index 9cb5396b8..39b3c8cee 100644 --- a/src/block/WaterLily.php +++ b/src/block/WaterLily.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WeightedPressurePlate.php b/src/block/WeightedPressurePlate.php index fa613dac7..3fce83b1c 100644 --- a/src/block/WeightedPressurePlate.php +++ b/src/block/WeightedPressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WeightedPressurePlateHeavy.php b/src/block/WeightedPressurePlateHeavy.php index acc8068d9..390297436 100644 --- a/src/block/WeightedPressurePlateHeavy.php +++ b/src/block/WeightedPressurePlateHeavy.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WeightedPressurePlateLight.php b/src/block/WeightedPressurePlateLight.php index 877211f62..458c07e1a 100644 --- a/src/block/WeightedPressurePlateLight.php +++ b/src/block/WeightedPressurePlateLight.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wheat.php b/src/block/Wheat.php index 8dabf8c00..ccccd015a 100644 --- a/src/block/Wheat.php +++ b/src/block/Wheat.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wood.php b/src/block/Wood.php index f6d1c30fd..a71f490fa 100644 --- a/src/block/Wood.php +++ b/src/block/Wood.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenButton.php b/src/block/WoodenButton.php index 44f4f867b..3116840b2 100644 --- a/src/block/WoodenButton.php +++ b/src/block/WoodenButton.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenDoor.php b/src/block/WoodenDoor.php index af6c7b25f..c77253e69 100644 --- a/src/block/WoodenDoor.php +++ b/src/block/WoodenDoor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenFence.php b/src/block/WoodenFence.php index b128eca0f..a84abef5f 100644 --- a/src/block/WoodenFence.php +++ b/src/block/WoodenFence.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenPressurePlate.php b/src/block/WoodenPressurePlate.php index 99e48c332..163789b2f 100644 --- a/src/block/WoodenPressurePlate.php +++ b/src/block/WoodenPressurePlate.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenSlab.php b/src/block/WoodenSlab.php index 91ec0f117..f1fc42b66 100644 --- a/src/block/WoodenSlab.php +++ b/src/block/WoodenSlab.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenStairs.php b/src/block/WoodenStairs.php index 4d9009869..9c2f16a15 100644 --- a/src/block/WoodenStairs.php +++ b/src/block/WoodenStairs.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/WoodenTrapdoor.php b/src/block/WoodenTrapdoor.php index 7f0724452..83b3fb6c8 100644 --- a/src/block/WoodenTrapdoor.php +++ b/src/block/WoodenTrapdoor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/Wool.php b/src/block/Wool.php index 8dd0f28a3..993f0a038 100644 --- a/src/block/Wool.php +++ b/src/block/Wool.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/AnimatedBlockInventoryTrait.php b/src/block/inventory/AnimatedBlockInventoryTrait.php index c80fced3a..a9965190c 100644 --- a/src/block/inventory/AnimatedBlockInventoryTrait.php +++ b/src/block/inventory/AnimatedBlockInventoryTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/AnvilInventory.php b/src/block/inventory/AnvilInventory.php index 1def8f913..7d906a632 100644 --- a/src/block/inventory/AnvilInventory.php +++ b/src/block/inventory/AnvilInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BarrelInventory.php b/src/block/inventory/BarrelInventory.php index fe2662e30..7de83bb03 100644 --- a/src/block/inventory/BarrelInventory.php +++ b/src/block/inventory/BarrelInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BlockInventory.php b/src/block/inventory/BlockInventory.php index 7712688c1..063a451a9 100644 --- a/src/block/inventory/BlockInventory.php +++ b/src/block/inventory/BlockInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BlockInventoryTrait.php b/src/block/inventory/BlockInventoryTrait.php index 887e428ad..980e947f0 100644 --- a/src/block/inventory/BlockInventoryTrait.php +++ b/src/block/inventory/BlockInventoryTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/BrewingStandInventory.php b/src/block/inventory/BrewingStandInventory.php index 0faf4b672..8bab4ba97 100644 --- a/src/block/inventory/BrewingStandInventory.php +++ b/src/block/inventory/BrewingStandInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/ChestInventory.php b/src/block/inventory/ChestInventory.php index b7594b232..b61fab57c 100644 --- a/src/block/inventory/ChestInventory.php +++ b/src/block/inventory/ChestInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/CraftingTableInventory.php b/src/block/inventory/CraftingTableInventory.php index 3659a1f5d..767e8a5f4 100644 --- a/src/block/inventory/CraftingTableInventory.php +++ b/src/block/inventory/CraftingTableInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/DoubleChestInventory.php b/src/block/inventory/DoubleChestInventory.php index b26425eab..92c75ef9f 100644 --- a/src/block/inventory/DoubleChestInventory.php +++ b/src/block/inventory/DoubleChestInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/EnchantInventory.php b/src/block/inventory/EnchantInventory.php index 91bfcab5e..2c682d134 100644 --- a/src/block/inventory/EnchantInventory.php +++ b/src/block/inventory/EnchantInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/EnderChestInventory.php b/src/block/inventory/EnderChestInventory.php index bde83a169..c1d7c5401 100644 --- a/src/block/inventory/EnderChestInventory.php +++ b/src/block/inventory/EnderChestInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/FurnaceInventory.php b/src/block/inventory/FurnaceInventory.php index afbbfa502..ff44d6b70 100644 --- a/src/block/inventory/FurnaceInventory.php +++ b/src/block/inventory/FurnaceInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/HopperInventory.php b/src/block/inventory/HopperInventory.php index eb75244c3..a20e9ae1a 100644 --- a/src/block/inventory/HopperInventory.php +++ b/src/block/inventory/HopperInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/LoomInventory.php b/src/block/inventory/LoomInventory.php index 27a8f2dbc..fd34620a0 100644 --- a/src/block/inventory/LoomInventory.php +++ b/src/block/inventory/LoomInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/ShulkerBoxInventory.php b/src/block/inventory/ShulkerBoxInventory.php index 648a0b05f..a61e37198 100644 --- a/src/block/inventory/ShulkerBoxInventory.php +++ b/src/block/inventory/ShulkerBoxInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/inventory/StonecutterInventory.php b/src/block/inventory/StonecutterInventory.php index 0dca32502..4ed644ff2 100644 --- a/src/block/inventory/StonecutterInventory.php +++ b/src/block/inventory/StonecutterInventory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Banner.php b/src/block/tile/Banner.php index 4d2550f4d..0af4b2e79 100644 --- a/src/block/tile/Banner.php +++ b/src/block/tile/Banner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Barrel.php b/src/block/tile/Barrel.php index 68491cd08..4a1119a8b 100644 --- a/src/block/tile/Barrel.php +++ b/src/block/tile/Barrel.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Beacon.php b/src/block/tile/Beacon.php index 42c24cd38..db0aabb36 100644 --- a/src/block/tile/Beacon.php +++ b/src/block/tile/Beacon.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Bed.php b/src/block/tile/Bed.php index 49ac07202..847bcca1f 100644 --- a/src/block/tile/Bed.php +++ b/src/block/tile/Bed.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Bell.php b/src/block/tile/Bell.php index bc2ab29fe..64707c02d 100644 --- a/src/block/tile/Bell.php +++ b/src/block/tile/Bell.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/BlastFurnace.php b/src/block/tile/BlastFurnace.php index ded48d710..e6e23c88c 100644 --- a/src/block/tile/BlastFurnace.php +++ b/src/block/tile/BlastFurnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/BrewingStand.php b/src/block/tile/BrewingStand.php index a75b4d9f1..6f77e9e34 100644 --- a/src/block/tile/BrewingStand.php +++ b/src/block/tile/BrewingStand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Chest.php b/src/block/tile/Chest.php index 1f49a2ddb..287b05d91 100644 --- a/src/block/tile/Chest.php +++ b/src/block/tile/Chest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Comparator.php b/src/block/tile/Comparator.php index 317a682f4..f0a286bab 100644 --- a/src/block/tile/Comparator.php +++ b/src/block/tile/Comparator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Container.php b/src/block/tile/Container.php index b549ad137..d9dde11f6 100644 --- a/src/block/tile/Container.php +++ b/src/block/tile/Container.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/ContainerTrait.php b/src/block/tile/ContainerTrait.php index ba8ab084a..43107cd6a 100644 --- a/src/block/tile/ContainerTrait.php +++ b/src/block/tile/ContainerTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/DaylightSensor.php b/src/block/tile/DaylightSensor.php index 8776d1ca5..642f07d83 100644 --- a/src/block/tile/DaylightSensor.php +++ b/src/block/tile/DaylightSensor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/EnchantTable.php b/src/block/tile/EnchantTable.php index 8e56166be..1113e435b 100644 --- a/src/block/tile/EnchantTable.php +++ b/src/block/tile/EnchantTable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/EnderChest.php b/src/block/tile/EnderChest.php index 30bedd936..4ba5269d8 100644 --- a/src/block/tile/EnderChest.php +++ b/src/block/tile/EnderChest.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/FlowerPot.php b/src/block/tile/FlowerPot.php index 294e4fe41..b8d9a36a3 100644 --- a/src/block/tile/FlowerPot.php +++ b/src/block/tile/FlowerPot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Furnace.php b/src/block/tile/Furnace.php index 806c53a07..e26e9006e 100644 --- a/src/block/tile/Furnace.php +++ b/src/block/tile/Furnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Hopper.php b/src/block/tile/Hopper.php index c5fe6f167..02b5193ee 100644 --- a/src/block/tile/Hopper.php +++ b/src/block/tile/Hopper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/ItemFrame.php b/src/block/tile/ItemFrame.php index ecb93acc1..d05c8fedc 100644 --- a/src/block/tile/ItemFrame.php +++ b/src/block/tile/ItemFrame.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Jukebox.php b/src/block/tile/Jukebox.php index eb8041258..3154c6a07 100644 --- a/src/block/tile/Jukebox.php +++ b/src/block/tile/Jukebox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Lectern.php b/src/block/tile/Lectern.php index 00e4a1072..28be8904e 100644 --- a/src/block/tile/Lectern.php +++ b/src/block/tile/Lectern.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/MonsterSpawner.php b/src/block/tile/MonsterSpawner.php index 040d6a3ee..b09953567 100644 --- a/src/block/tile/MonsterSpawner.php +++ b/src/block/tile/MonsterSpawner.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Nameable.php b/src/block/tile/Nameable.php index 2d206ffc2..2461919d4 100644 --- a/src/block/tile/Nameable.php +++ b/src/block/tile/Nameable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/NameableTrait.php b/src/block/tile/NameableTrait.php index 4a43e8aef..955d58132 100644 --- a/src/block/tile/NameableTrait.php +++ b/src/block/tile/NameableTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/NormalFurnace.php b/src/block/tile/NormalFurnace.php index c5c17e5e5..9580920e2 100644 --- a/src/block/tile/NormalFurnace.php +++ b/src/block/tile/NormalFurnace.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Note.php b/src/block/tile/Note.php index bf597607c..537c97e98 100644 --- a/src/block/tile/Note.php +++ b/src/block/tile/Note.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/ShulkerBox.php b/src/block/tile/ShulkerBox.php index fb740c566..693da26d9 100644 --- a/src/block/tile/ShulkerBox.php +++ b/src/block/tile/ShulkerBox.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Sign.php b/src/block/tile/Sign.php index 38cad085f..3922e1866 100644 --- a/src/block/tile/Sign.php +++ b/src/block/tile/Sign.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Skull.php b/src/block/tile/Skull.php index 30dd164c0..92ca7af69 100644 --- a/src/block/tile/Skull.php +++ b/src/block/tile/Skull.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Smoker.php b/src/block/tile/Smoker.php index 7edb5b49e..4b5a01733 100644 --- a/src/block/tile/Smoker.php +++ b/src/block/tile/Smoker.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Spawnable.php b/src/block/tile/Spawnable.php index b48f8a0f7..73ad2142a 100644 --- a/src/block/tile/Spawnable.php +++ b/src/block/tile/Spawnable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/Tile.php b/src/block/tile/Tile.php index 00ff1bed6..9a2f443b1 100644 --- a/src/block/tile/Tile.php +++ b/src/block/tile/Tile.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/tile/TileFactory.php b/src/block/tile/TileFactory.php index f2cc53045..99ace99bd 100644 --- a/src/block/tile/TileFactory.php +++ b/src/block/tile/TileFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/AnalogRedstoneSignalEmitterTrait.php b/src/block/utils/AnalogRedstoneSignalEmitterTrait.php index 2d5609a98..5fb4a3da1 100644 --- a/src/block/utils/AnalogRedstoneSignalEmitterTrait.php +++ b/src/block/utils/AnalogRedstoneSignalEmitterTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/AnyFacingTrait.php b/src/block/utils/AnyFacingTrait.php index 751e67378..3a4e03eb2 100644 --- a/src/block/utils/AnyFacingTrait.php +++ b/src/block/utils/AnyFacingTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BannerPatternLayer.php b/src/block/utils/BannerPatternLayer.php index 00ba8caec..0a3b5a94c 100644 --- a/src/block/utils/BannerPatternLayer.php +++ b/src/block/utils/BannerPatternLayer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BannerPatternType.php b/src/block/utils/BannerPatternType.php index 5ede3d92b..85b064059 100644 --- a/src/block/utils/BannerPatternType.php +++ b/src/block/utils/BannerPatternType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BellAttachmentType.php b/src/block/utils/BellAttachmentType.php index dc80e0c19..963257031 100644 --- a/src/block/utils/BellAttachmentType.php +++ b/src/block/utils/BellAttachmentType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BlockDataSerializer.php b/src/block/utils/BlockDataSerializer.php index 4bf5e9b75..1d7ae28fa 100644 --- a/src/block/utils/BlockDataSerializer.php +++ b/src/block/utils/BlockDataSerializer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/BrewingStandSlot.php b/src/block/utils/BrewingStandSlot.php index 37182693e..faeeaa7c4 100644 --- a/src/block/utils/BrewingStandSlot.php +++ b/src/block/utils/BrewingStandSlot.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/ColorInMetadataTrait.php b/src/block/utils/ColorInMetadataTrait.php index 1130ae27c..232db837f 100644 --- a/src/block/utils/ColorInMetadataTrait.php +++ b/src/block/utils/ColorInMetadataTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/ColoredTrait.php b/src/block/utils/ColoredTrait.php index 922245f9f..3ed323ca3 100644 --- a/src/block/utils/ColoredTrait.php +++ b/src/block/utils/ColoredTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/CoralType.php b/src/block/utils/CoralType.php index 2006d3799..5a4d88fa9 100644 --- a/src/block/utils/CoralType.php +++ b/src/block/utils/CoralType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/CoralTypeTrait.php b/src/block/utils/CoralTypeTrait.php index 33a37bc55..afeac309c 100644 --- a/src/block/utils/CoralTypeTrait.php +++ b/src/block/utils/CoralTypeTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/DyeColor.php b/src/block/utils/DyeColor.php index a1bb941a1..81c51618a 100644 --- a/src/block/utils/DyeColor.php +++ b/src/block/utils/DyeColor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/FacesOppositePlacingPlayerTrait.php b/src/block/utils/FacesOppositePlacingPlayerTrait.php index 1f566ca30..0bca482b5 100644 --- a/src/block/utils/FacesOppositePlacingPlayerTrait.php +++ b/src/block/utils/FacesOppositePlacingPlayerTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/Fallable.php b/src/block/utils/Fallable.php index 70ac23e68..2f191f1c2 100644 --- a/src/block/utils/Fallable.php +++ b/src/block/utils/Fallable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/FallableTrait.php b/src/block/utils/FallableTrait.php index 6afcc52bf..b1129191b 100644 --- a/src/block/utils/FallableTrait.php +++ b/src/block/utils/FallableTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/HorizontalFacingTrait.php b/src/block/utils/HorizontalFacingTrait.php index 54cac0cda..21f1cc007 100644 --- a/src/block/utils/HorizontalFacingTrait.php +++ b/src/block/utils/HorizontalFacingTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/InvalidBlockStateException.php b/src/block/utils/InvalidBlockStateException.php index 506b81dbb..f42581340 100644 --- a/src/block/utils/InvalidBlockStateException.php +++ b/src/block/utils/InvalidBlockStateException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/LeverFacing.php b/src/block/utils/LeverFacing.php index fbc83c880..99eeb88d3 100644 --- a/src/block/utils/LeverFacing.php +++ b/src/block/utils/LeverFacing.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/MinimumCostFlowCalculator.php b/src/block/utils/MinimumCostFlowCalculator.php index e299caaa3..84b003bbd 100644 --- a/src/block/utils/MinimumCostFlowCalculator.php +++ b/src/block/utils/MinimumCostFlowCalculator.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/MushroomBlockType.php b/src/block/utils/MushroomBlockType.php index 33b04831d..7f001d13d 100644 --- a/src/block/utils/MushroomBlockType.php +++ b/src/block/utils/MushroomBlockType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/NormalHorizontalFacingInMetadataTrait.php b/src/block/utils/NormalHorizontalFacingInMetadataTrait.php index 79bb7ac9f..f41efd98a 100644 --- a/src/block/utils/NormalHorizontalFacingInMetadataTrait.php +++ b/src/block/utils/NormalHorizontalFacingInMetadataTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/PillarRotationInMetadataTrait.php b/src/block/utils/PillarRotationInMetadataTrait.php index 42adf7120..229ed9d0b 100644 --- a/src/block/utils/PillarRotationInMetadataTrait.php +++ b/src/block/utils/PillarRotationInMetadataTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/PillarRotationTrait.php b/src/block/utils/PillarRotationTrait.php index 806782db8..694b50424 100644 --- a/src/block/utils/PillarRotationTrait.php +++ b/src/block/utils/PillarRotationTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/PoweredByRedstoneTrait.php b/src/block/utils/PoweredByRedstoneTrait.php index 683437a4f..7e4f45a57 100644 --- a/src/block/utils/PoweredByRedstoneTrait.php +++ b/src/block/utils/PoweredByRedstoneTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/RailConnectionInfo.php b/src/block/utils/RailConnectionInfo.php index 324ee3cfb..c12c53b31 100644 --- a/src/block/utils/RailConnectionInfo.php +++ b/src/block/utils/RailConnectionInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/RailPoweredByRedstoneTrait.php b/src/block/utils/RailPoweredByRedstoneTrait.php index f0549429f..044dd7a49 100644 --- a/src/block/utils/RailPoweredByRedstoneTrait.php +++ b/src/block/utils/RailPoweredByRedstoneTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/RecordType.php b/src/block/utils/RecordType.php index e6692a511..f58f9fd60 100644 --- a/src/block/utils/RecordType.php +++ b/src/block/utils/RecordType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SignLikeRotationTrait.php b/src/block/utils/SignLikeRotationTrait.php index fd09a824f..d9b156895 100644 --- a/src/block/utils/SignLikeRotationTrait.php +++ b/src/block/utils/SignLikeRotationTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SignText.php b/src/block/utils/SignText.php index dd7221ac2..6f3cb69dd 100644 --- a/src/block/utils/SignText.php +++ b/src/block/utils/SignText.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SkullType.php b/src/block/utils/SkullType.php index 6ec6341c0..c2031cde3 100644 --- a/src/block/utils/SkullType.php +++ b/src/block/utils/SkullType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SlabType.php b/src/block/utils/SlabType.php index 26648481f..1da1b3e5a 100644 --- a/src/block/utils/SlabType.php +++ b/src/block/utils/SlabType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/StairShape.php b/src/block/utils/StairShape.php index dadd7d15e..c98aec8fb 100644 --- a/src/block/utils/StairShape.php +++ b/src/block/utils/StairShape.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/SupportType.php b/src/block/utils/SupportType.php index d01646b55..b4480bf57 100644 --- a/src/block/utils/SupportType.php +++ b/src/block/utils/SupportType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/block/utils/TreeType.php b/src/block/utils/TreeType.php index 60e796db2..b031e0e99 100644 --- a/src/block/utils/TreeType.php +++ b/src/block/utils/TreeType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/Command.php b/src/command/Command.php index 51e3ef51c..a85184777 100644 --- a/src/command/Command.php +++ b/src/command/Command.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/CommandExecutor.php b/src/command/CommandExecutor.php index fb989590d..138c4f22a 100644 --- a/src/command/CommandExecutor.php +++ b/src/command/CommandExecutor.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/CommandMap.php b/src/command/CommandMap.php index 3be7850e6..a7cf64ca4 100644 --- a/src/command/CommandMap.php +++ b/src/command/CommandMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/CommandSender.php b/src/command/CommandSender.php index c16fdf042..5429b6f5e 100644 --- a/src/command/CommandSender.php +++ b/src/command/CommandSender.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/FormattedCommandAlias.php b/src/command/FormattedCommandAlias.php index 170b90ebe..f0ed923b5 100644 --- a/src/command/FormattedCommandAlias.php +++ b/src/command/FormattedCommandAlias.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/PluginCommand.php b/src/command/PluginCommand.php index 745b8b8b3..07b0999f0 100644 --- a/src/command/PluginCommand.php +++ b/src/command/PluginCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/SimpleCommandMap.php b/src/command/SimpleCommandMap.php index 548f16c39..5c33bf25a 100644 --- a/src/command/SimpleCommandMap.php +++ b/src/command/SimpleCommandMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/BanCommand.php b/src/command/defaults/BanCommand.php index 4b734303d..734159a20 100644 --- a/src/command/defaults/BanCommand.php +++ b/src/command/defaults/BanCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/BanIpCommand.php b/src/command/defaults/BanIpCommand.php index d6e1584b9..13c74888c 100644 --- a/src/command/defaults/BanIpCommand.php +++ b/src/command/defaults/BanIpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/BanListCommand.php b/src/command/defaults/BanListCommand.php index f3bd20baa..5ec515a2b 100644 --- a/src/command/defaults/BanListCommand.php +++ b/src/command/defaults/BanListCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/ClearCommand.php b/src/command/defaults/ClearCommand.php index 237f3d108..7e4f81065 100644 --- a/src/command/defaults/ClearCommand.php +++ b/src/command/defaults/ClearCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DefaultGamemodeCommand.php b/src/command/defaults/DefaultGamemodeCommand.php index 1f0b29aa3..860a7506d 100644 --- a/src/command/defaults/DefaultGamemodeCommand.php +++ b/src/command/defaults/DefaultGamemodeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DeopCommand.php b/src/command/defaults/DeopCommand.php index 9dbd0757c..a32d94108 100644 --- a/src/command/defaults/DeopCommand.php +++ b/src/command/defaults/DeopCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DifficultyCommand.php b/src/command/defaults/DifficultyCommand.php index 7ccde43f0..b73204f56 100644 --- a/src/command/defaults/DifficultyCommand.php +++ b/src/command/defaults/DifficultyCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/DumpMemoryCommand.php b/src/command/defaults/DumpMemoryCommand.php index 6ce3d2967..83f177e01 100644 --- a/src/command/defaults/DumpMemoryCommand.php +++ b/src/command/defaults/DumpMemoryCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/EffectCommand.php b/src/command/defaults/EffectCommand.php index fe2db7d2d..159832bac 100644 --- a/src/command/defaults/EffectCommand.php +++ b/src/command/defaults/EffectCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/EnchantCommand.php b/src/command/defaults/EnchantCommand.php index 3e53a55fb..092ceb006 100644 --- a/src/command/defaults/EnchantCommand.php +++ b/src/command/defaults/EnchantCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/GamemodeCommand.php b/src/command/defaults/GamemodeCommand.php index 86658de6d..1363d34dc 100644 --- a/src/command/defaults/GamemodeCommand.php +++ b/src/command/defaults/GamemodeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/GarbageCollectorCommand.php b/src/command/defaults/GarbageCollectorCommand.php index 2e85ed093..69875c7d5 100644 --- a/src/command/defaults/GarbageCollectorCommand.php +++ b/src/command/defaults/GarbageCollectorCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/GiveCommand.php b/src/command/defaults/GiveCommand.php index b883c1165..650a262d0 100644 --- a/src/command/defaults/GiveCommand.php +++ b/src/command/defaults/GiveCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/HelpCommand.php b/src/command/defaults/HelpCommand.php index d265957db..7fe12e039 100644 --- a/src/command/defaults/HelpCommand.php +++ b/src/command/defaults/HelpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/KickCommand.php b/src/command/defaults/KickCommand.php index 7952c522e..3ccb2e527 100644 --- a/src/command/defaults/KickCommand.php +++ b/src/command/defaults/KickCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/KillCommand.php b/src/command/defaults/KillCommand.php index f425060e3..c041e0cbb 100644 --- a/src/command/defaults/KillCommand.php +++ b/src/command/defaults/KillCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/ListCommand.php b/src/command/defaults/ListCommand.php index c451877ae..5df3e1a91 100644 --- a/src/command/defaults/ListCommand.php +++ b/src/command/defaults/ListCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/MeCommand.php b/src/command/defaults/MeCommand.php index 904b39fe4..586d6cb39 100644 --- a/src/command/defaults/MeCommand.php +++ b/src/command/defaults/MeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/OpCommand.php b/src/command/defaults/OpCommand.php index 4067eb3e7..53cbc7461 100644 --- a/src/command/defaults/OpCommand.php +++ b/src/command/defaults/OpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/PardonCommand.php b/src/command/defaults/PardonCommand.php index 842cbe3ae..a1ea1e6ee 100644 --- a/src/command/defaults/PardonCommand.php +++ b/src/command/defaults/PardonCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/PardonIpCommand.php b/src/command/defaults/PardonIpCommand.php index f0b2c9aa5..d9a229354 100644 --- a/src/command/defaults/PardonIpCommand.php +++ b/src/command/defaults/PardonIpCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/ParticleCommand.php b/src/command/defaults/ParticleCommand.php index 072ca9dc8..1416ad0b3 100644 --- a/src/command/defaults/ParticleCommand.php +++ b/src/command/defaults/ParticleCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/PluginsCommand.php b/src/command/defaults/PluginsCommand.php index 2b4ef9ad6..e4c83354d 100644 --- a/src/command/defaults/PluginsCommand.php +++ b/src/command/defaults/PluginsCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SaveCommand.php b/src/command/defaults/SaveCommand.php index ae31cb18a..10d036d55 100644 --- a/src/command/defaults/SaveCommand.php +++ b/src/command/defaults/SaveCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SaveOffCommand.php b/src/command/defaults/SaveOffCommand.php index 223d81e64..b4d86d486 100644 --- a/src/command/defaults/SaveOffCommand.php +++ b/src/command/defaults/SaveOffCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SaveOnCommand.php b/src/command/defaults/SaveOnCommand.php index 0999181a9..20504122b 100644 --- a/src/command/defaults/SaveOnCommand.php +++ b/src/command/defaults/SaveOnCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SayCommand.php b/src/command/defaults/SayCommand.php index 29513280e..16e681553 100644 --- a/src/command/defaults/SayCommand.php +++ b/src/command/defaults/SayCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SeedCommand.php b/src/command/defaults/SeedCommand.php index 50e106145..e7345f8ba 100644 --- a/src/command/defaults/SeedCommand.php +++ b/src/command/defaults/SeedCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SetWorldSpawnCommand.php b/src/command/defaults/SetWorldSpawnCommand.php index 96582a349..0c0d46c11 100644 --- a/src/command/defaults/SetWorldSpawnCommand.php +++ b/src/command/defaults/SetWorldSpawnCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/SpawnpointCommand.php b/src/command/defaults/SpawnpointCommand.php index a99d4a49e..b5932770a 100644 --- a/src/command/defaults/SpawnpointCommand.php +++ b/src/command/defaults/SpawnpointCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/StatusCommand.php b/src/command/defaults/StatusCommand.php index 05dfc7abf..d4076fcfe 100644 --- a/src/command/defaults/StatusCommand.php +++ b/src/command/defaults/StatusCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/StopCommand.php b/src/command/defaults/StopCommand.php index 256208714..664fa3657 100644 --- a/src/command/defaults/StopCommand.php +++ b/src/command/defaults/StopCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TeleportCommand.php b/src/command/defaults/TeleportCommand.php index 4748dc2d3..618ae10a2 100644 --- a/src/command/defaults/TeleportCommand.php +++ b/src/command/defaults/TeleportCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TellCommand.php b/src/command/defaults/TellCommand.php index 4e294af5b..bf36d255f 100644 --- a/src/command/defaults/TellCommand.php +++ b/src/command/defaults/TellCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TimeCommand.php b/src/command/defaults/TimeCommand.php index fcdd89dee..49edee2b8 100644 --- a/src/command/defaults/TimeCommand.php +++ b/src/command/defaults/TimeCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TimingsCommand.php b/src/command/defaults/TimingsCommand.php index 13c95b5bd..14fae62f5 100644 --- a/src/command/defaults/TimingsCommand.php +++ b/src/command/defaults/TimingsCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TitleCommand.php b/src/command/defaults/TitleCommand.php index 76e6f3b6e..19218799c 100644 --- a/src/command/defaults/TitleCommand.php +++ b/src/command/defaults/TitleCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/TransferServerCommand.php b/src/command/defaults/TransferServerCommand.php index 4159a5b25..5d15c8258 100644 --- a/src/command/defaults/TransferServerCommand.php +++ b/src/command/defaults/TransferServerCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/VanillaCommand.php b/src/command/defaults/VanillaCommand.php index 7133597d8..fbc7225bc 100644 --- a/src/command/defaults/VanillaCommand.php +++ b/src/command/defaults/VanillaCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/VersionCommand.php b/src/command/defaults/VersionCommand.php index c5a09b98f..9fa670957 100644 --- a/src/command/defaults/VersionCommand.php +++ b/src/command/defaults/VersionCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/defaults/WhitelistCommand.php b/src/command/defaults/WhitelistCommand.php index 3f60f8efa..02fd65f23 100644 --- a/src/command/defaults/WhitelistCommand.php +++ b/src/command/defaults/WhitelistCommand.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/utils/CommandException.php b/src/command/utils/CommandException.php index fa0b90d6a..f2efbde87 100644 --- a/src/command/utils/CommandException.php +++ b/src/command/utils/CommandException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/utils/CommandStringHelper.php b/src/command/utils/CommandStringHelper.php index 526f2d594..eacc5d3d8 100644 --- a/src/command/utils/CommandStringHelper.php +++ b/src/command/utils/CommandStringHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/command/utils/InvalidCommandSyntaxException.php b/src/command/utils/InvalidCommandSyntaxException.php index 03185dbcd..e372fb4e3 100644 --- a/src/command/utils/InvalidCommandSyntaxException.php +++ b/src/command/utils/InvalidCommandSyntaxException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleCommandSender.php b/src/console/ConsoleCommandSender.php index e08a65706..30035ac3e 100644 --- a/src/console/ConsoleCommandSender.php +++ b/src/console/ConsoleCommandSender.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleReader.php b/src/console/ConsoleReader.php index ac7b6f644..8a2032886 100644 --- a/src/console/ConsoleReader.php +++ b/src/console/ConsoleReader.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleReaderChildProcess.php b/src/console/ConsoleReaderChildProcess.php index 509d0daca..5bf2ff71f 100644 --- a/src/console/ConsoleReaderChildProcess.php +++ b/src/console/ConsoleReaderChildProcess.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/console/ConsoleReaderThread.php b/src/console/ConsoleReaderThread.php index 3dfd3a8bb..eac19ef84 100644 --- a/src/console/ConsoleReaderThread.php +++ b/src/console/ConsoleReaderThread.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/BrewingRecipe.php b/src/crafting/BrewingRecipe.php index e903f0c3c..55c6f5584 100644 --- a/src/crafting/BrewingRecipe.php +++ b/src/crafting/BrewingRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingGrid.php b/src/crafting/CraftingGrid.php index 00f5a781b..a41b5e3a7 100644 --- a/src/crafting/CraftingGrid.php +++ b/src/crafting/CraftingGrid.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingManager.php b/src/crafting/CraftingManager.php index f9d28bf28..9eddb17a0 100644 --- a/src/crafting/CraftingManager.php +++ b/src/crafting/CraftingManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingManagerFromDataHelper.php b/src/crafting/CraftingManagerFromDataHelper.php index f38709ab5..05612e66d 100644 --- a/src/crafting/CraftingManagerFromDataHelper.php +++ b/src/crafting/CraftingManagerFromDataHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/CraftingRecipe.php b/src/crafting/CraftingRecipe.php index 44c387eff..8666235a8 100644 --- a/src/crafting/CraftingRecipe.php +++ b/src/crafting/CraftingRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/FurnaceRecipe.php b/src/crafting/FurnaceRecipe.php index 89d414e27..e719aa07b 100644 --- a/src/crafting/FurnaceRecipe.php +++ b/src/crafting/FurnaceRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/FurnaceRecipeManager.php b/src/crafting/FurnaceRecipeManager.php index 1f16f4707..779256ece 100644 --- a/src/crafting/FurnaceRecipeManager.php +++ b/src/crafting/FurnaceRecipeManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/FurnaceType.php b/src/crafting/FurnaceType.php index 079066b97..649ff4484 100644 --- a/src/crafting/FurnaceType.php +++ b/src/crafting/FurnaceType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/PotionContainerChangeRecipe.php b/src/crafting/PotionContainerChangeRecipe.php index 4f4ec2cde..da24050cb 100644 --- a/src/crafting/PotionContainerChangeRecipe.php +++ b/src/crafting/PotionContainerChangeRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/PotionTypeRecipe.php b/src/crafting/PotionTypeRecipe.php index aa1604d6f..4d450450e 100644 --- a/src/crafting/PotionTypeRecipe.php +++ b/src/crafting/PotionTypeRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/ShapedRecipe.php b/src/crafting/ShapedRecipe.php index 984d17a91..aa15eb4c5 100644 --- a/src/crafting/ShapedRecipe.php +++ b/src/crafting/ShapedRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/ShapelessRecipe.php b/src/crafting/ShapelessRecipe.php index 728e3022a..2c399fe04 100644 --- a/src/crafting/ShapelessRecipe.php +++ b/src/crafting/ShapelessRecipe.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crafting/ShapelessRecipeType.php b/src/crafting/ShapelessRecipeType.php index 80341840a..e7d3242d5 100644 --- a/src/crafting/ShapelessRecipeType.php +++ b/src/crafting/ShapelessRecipeType.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDump.php b/src/crash/CrashDump.php index c55d17f54..101e35201 100644 --- a/src/crash/CrashDump.php +++ b/src/crash/CrashDump.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpData.php b/src/crash/CrashDumpData.php index 295517b0a..264f67d67 100644 --- a/src/crash/CrashDumpData.php +++ b/src/crash/CrashDumpData.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpDataGeneral.php b/src/crash/CrashDumpDataGeneral.php index 0f7188364..a03d78897 100644 --- a/src/crash/CrashDumpDataGeneral.php +++ b/src/crash/CrashDumpDataGeneral.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpDataPluginEntry.php b/src/crash/CrashDumpDataPluginEntry.php index 661c56ca2..ec53059d8 100644 --- a/src/crash/CrashDumpDataPluginEntry.php +++ b/src/crash/CrashDumpDataPluginEntry.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/crash/CrashDumpRenderer.php b/src/crash/CrashDumpRenderer.php index fa1d77e73..2858f43ec 100644 --- a/src/crash/CrashDumpRenderer.php +++ b/src/crash/CrashDumpRenderer.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/SavedDataLoadingException.php b/src/data/SavedDataLoadingException.php index 03dfa392b..879a6ecc3 100644 --- a/src/data/SavedDataLoadingException.php +++ b/src/data/SavedDataLoadingException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/BannerPatternTypeIdMap.php b/src/data/bedrock/BannerPatternTypeIdMap.php index 45f6488b8..293f8ec38 100644 --- a/src/data/bedrock/BannerPatternTypeIdMap.php +++ b/src/data/bedrock/BannerPatternTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/BiomeIds.php b/src/data/bedrock/BiomeIds.php index ffb0af8d7..ac9555278 100644 --- a/src/data/bedrock/BiomeIds.php +++ b/src/data/bedrock/BiomeIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/CompoundTypeIds.php b/src/data/bedrock/CompoundTypeIds.php index c4343a98f..62009d585 100644 --- a/src/data/bedrock/CompoundTypeIds.php +++ b/src/data/bedrock/CompoundTypeIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/CoralTypeIdMap.php b/src/data/bedrock/CoralTypeIdMap.php index 413b373ba..134c0053b 100644 --- a/src/data/bedrock/CoralTypeIdMap.php +++ b/src/data/bedrock/CoralTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/DyeColorIdMap.php b/src/data/bedrock/DyeColorIdMap.php index 9b59de009..112ffe937 100644 --- a/src/data/bedrock/DyeColorIdMap.php +++ b/src/data/bedrock/DyeColorIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EffectIdMap.php b/src/data/bedrock/EffectIdMap.php index f692a997f..23985fa12 100644 --- a/src/data/bedrock/EffectIdMap.php +++ b/src/data/bedrock/EffectIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EffectIds.php b/src/data/bedrock/EffectIds.php index a54000f7f..3acf56569 100644 --- a/src/data/bedrock/EffectIds.php +++ b/src/data/bedrock/EffectIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EnchantmentIdMap.php b/src/data/bedrock/EnchantmentIdMap.php index 7ad19c4e0..3206e6462 100644 --- a/src/data/bedrock/EnchantmentIdMap.php +++ b/src/data/bedrock/EnchantmentIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EnchantmentIds.php b/src/data/bedrock/EnchantmentIds.php index 51b076c11..19184f24b 100644 --- a/src/data/bedrock/EnchantmentIds.php +++ b/src/data/bedrock/EnchantmentIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/EntityLegacyIds.php b/src/data/bedrock/EntityLegacyIds.php index 41ff259c3..8e60ef0e9 100644 --- a/src/data/bedrock/EntityLegacyIds.php +++ b/src/data/bedrock/EntityLegacyIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyBiomeIdToStringIdMap.php b/src/data/bedrock/LegacyBiomeIdToStringIdMap.php index c967c5cee..974792eba 100644 --- a/src/data/bedrock/LegacyBiomeIdToStringIdMap.php +++ b/src/data/bedrock/LegacyBiomeIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyBlockIdToStringIdMap.php b/src/data/bedrock/LegacyBlockIdToStringIdMap.php index 5c52fa972..616c56bcf 100644 --- a/src/data/bedrock/LegacyBlockIdToStringIdMap.php +++ b/src/data/bedrock/LegacyBlockIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyEntityIdToStringIdMap.php b/src/data/bedrock/LegacyEntityIdToStringIdMap.php index 23852b925..2e3e4aecc 100644 --- a/src/data/bedrock/LegacyEntityIdToStringIdMap.php +++ b/src/data/bedrock/LegacyEntityIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyItemIdToStringIdMap.php b/src/data/bedrock/LegacyItemIdToStringIdMap.php index 86cd83bf8..85b6ff1bf 100644 --- a/src/data/bedrock/LegacyItemIdToStringIdMap.php +++ b/src/data/bedrock/LegacyItemIdToStringIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/LegacyToStringBidirectionalIdMap.php b/src/data/bedrock/LegacyToStringBidirectionalIdMap.php index 59961e32a..2ffe1b986 100644 --- a/src/data/bedrock/LegacyToStringBidirectionalIdMap.php +++ b/src/data/bedrock/LegacyToStringBidirectionalIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/MushroomBlockTypeIdMap.php b/src/data/bedrock/MushroomBlockTypeIdMap.php index f3bf8711b..1e288cb84 100644 --- a/src/data/bedrock/MushroomBlockTypeIdMap.php +++ b/src/data/bedrock/MushroomBlockTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/PotionTypeIdMap.php b/src/data/bedrock/PotionTypeIdMap.php index 4fcb9b693..eebab87e2 100644 --- a/src/data/bedrock/PotionTypeIdMap.php +++ b/src/data/bedrock/PotionTypeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/bedrock/PotionTypeIds.php b/src/data/bedrock/PotionTypeIds.php index ebe51de54..aa69461ce 100644 --- a/src/data/bedrock/PotionTypeIds.php +++ b/src/data/bedrock/PotionTypeIds.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/data/java/GameModeIdMap.php b/src/data/java/GameModeIdMap.php index 5990a7286..348749b51 100644 --- a/src/data/java/GameModeIdMap.php +++ b/src/data/java/GameModeIdMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Ageable.php b/src/entity/Ageable.php index bc74036d8..6372591e5 100644 --- a/src/entity/Ageable.php +++ b/src/entity/Ageable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Attribute.php b/src/entity/Attribute.php index 3f9bc7faf..5e27f92ab 100644 --- a/src/entity/Attribute.php +++ b/src/entity/Attribute.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/AttributeFactory.php b/src/entity/AttributeFactory.php index e8ae4ce99..6abfc1538 100644 --- a/src/entity/AttributeFactory.php +++ b/src/entity/AttributeFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/AttributeMap.php b/src/entity/AttributeMap.php index 9fc5f2acc..d73127d69 100644 --- a/src/entity/AttributeMap.php +++ b/src/entity/AttributeMap.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Consumable.php b/src/entity/Consumable.php index 650c1dd08..b5f89fcf1 100644 --- a/src/entity/Consumable.php +++ b/src/entity/Consumable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Entity.php b/src/entity/Entity.php index 7085a8827..68864b6bf 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/EntityDataHelper.php b/src/entity/EntityDataHelper.php index 607ea1c38..90e5e7733 100644 --- a/src/entity/EntityDataHelper.php +++ b/src/entity/EntityDataHelper.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/EntityFactory.php b/src/entity/EntityFactory.php index 9da6a6a94..90b3f659f 100644 --- a/src/entity/EntityFactory.php +++ b/src/entity/EntityFactory.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/EntitySizeInfo.php b/src/entity/EntitySizeInfo.php index d5ee1e697..bcb67705f 100644 --- a/src/entity/EntitySizeInfo.php +++ b/src/entity/EntitySizeInfo.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/ExperienceManager.php b/src/entity/ExperienceManager.php index cb44b3ea1..b74b87192 100644 --- a/src/entity/ExperienceManager.php +++ b/src/entity/ExperienceManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Explosive.php b/src/entity/Explosive.php index 94922cb19..9c77c748f 100644 --- a/src/entity/Explosive.php +++ b/src/entity/Explosive.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/FoodSource.php b/src/entity/FoodSource.php index e30ece5d3..98478b4a1 100644 --- a/src/entity/FoodSource.php +++ b/src/entity/FoodSource.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Human.php b/src/entity/Human.php index ac105df30..6dd0264ad 100644 --- a/src/entity/Human.php +++ b/src/entity/Human.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/HungerManager.php b/src/entity/HungerManager.php index 51dc5afad..304dcd30b 100644 --- a/src/entity/HungerManager.php +++ b/src/entity/HungerManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/InvalidSkinException.php b/src/entity/InvalidSkinException.php index 43aef8f10..f81539906 100644 --- a/src/entity/InvalidSkinException.php +++ b/src/entity/InvalidSkinException.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Living.php b/src/entity/Living.php index 74d38ef41..1d597715c 100644 --- a/src/entity/Living.php +++ b/src/entity/Living.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Location.php b/src/entity/Location.php index 2ebbb2661..c2c9bd27e 100644 --- a/src/entity/Location.php +++ b/src/entity/Location.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Skin.php b/src/entity/Skin.php index 96772ef84..f10d72fc3 100644 --- a/src/entity/Skin.php +++ b/src/entity/Skin.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Squid.php b/src/entity/Squid.php index 5962ba1bb..9b2f5a903 100644 --- a/src/entity/Squid.php +++ b/src/entity/Squid.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Villager.php b/src/entity/Villager.php index 789517a87..208ac7c77 100644 --- a/src/entity/Villager.php +++ b/src/entity/Villager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/WaterAnimal.php b/src/entity/WaterAnimal.php index 5edae8ffd..04deadde8 100644 --- a/src/entity/WaterAnimal.php +++ b/src/entity/WaterAnimal.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/Zombie.php b/src/entity/Zombie.php index 8cd3adb84..18fc2207e 100644 --- a/src/entity/Zombie.php +++ b/src/entity/Zombie.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/Animation.php b/src/entity/animation/Animation.php index 44dfa827b..ae020d310 100644 --- a/src/entity/animation/Animation.php +++ b/src/entity/animation/Animation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ArmSwingAnimation.php b/src/entity/animation/ArmSwingAnimation.php index d35b5cd4d..b0638a8ba 100644 --- a/src/entity/animation/ArmSwingAnimation.php +++ b/src/entity/animation/ArmSwingAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ArrowShakeAnimation.php b/src/entity/animation/ArrowShakeAnimation.php index 3c9481ae1..ab0a26599 100644 --- a/src/entity/animation/ArrowShakeAnimation.php +++ b/src/entity/animation/ArrowShakeAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ConsumingItemAnimation.php b/src/entity/animation/ConsumingItemAnimation.php index 83ff1d5e7..b268f655c 100644 --- a/src/entity/animation/ConsumingItemAnimation.php +++ b/src/entity/animation/ConsumingItemAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/CriticalHitAnimation.php b/src/entity/animation/CriticalHitAnimation.php index 23a114093..756d99db0 100644 --- a/src/entity/animation/CriticalHitAnimation.php +++ b/src/entity/animation/CriticalHitAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/DeathAnimation.php b/src/entity/animation/DeathAnimation.php index 2ef72634b..35eec0f48 100644 --- a/src/entity/animation/DeathAnimation.php +++ b/src/entity/animation/DeathAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/HurtAnimation.php b/src/entity/animation/HurtAnimation.php index d179f2f96..3a47ca0b9 100644 --- a/src/entity/animation/HurtAnimation.php +++ b/src/entity/animation/HurtAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/ItemEntityStackSizeChangeAnimation.php b/src/entity/animation/ItemEntityStackSizeChangeAnimation.php index ecc943c8c..46efc1892 100644 --- a/src/entity/animation/ItemEntityStackSizeChangeAnimation.php +++ b/src/entity/animation/ItemEntityStackSizeChangeAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/RespawnAnimation.php b/src/entity/animation/RespawnAnimation.php index 89bd590e4..dab0ed2a0 100644 --- a/src/entity/animation/RespawnAnimation.php +++ b/src/entity/animation/RespawnAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/SquidInkCloudAnimation.php b/src/entity/animation/SquidInkCloudAnimation.php index 540875f38..798780bf0 100644 --- a/src/entity/animation/SquidInkCloudAnimation.php +++ b/src/entity/animation/SquidInkCloudAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/animation/TotemUseAnimation.php b/src/entity/animation/TotemUseAnimation.php index d416e186d..7785a6c52 100644 --- a/src/entity/animation/TotemUseAnimation.php +++ b/src/entity/animation/TotemUseAnimation.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/AbsorptionEffect.php b/src/entity/effect/AbsorptionEffect.php index 0d7f60513..0dc690809 100644 --- a/src/entity/effect/AbsorptionEffect.php +++ b/src/entity/effect/AbsorptionEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/Effect.php b/src/entity/effect/Effect.php index 3d1bd4c7c..442028d4c 100644 --- a/src/entity/effect/Effect.php +++ b/src/entity/effect/Effect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/EffectInstance.php b/src/entity/effect/EffectInstance.php index 085d051fd..f948b1f39 100644 --- a/src/entity/effect/EffectInstance.php +++ b/src/entity/effect/EffectInstance.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/EffectManager.php b/src/entity/effect/EffectManager.php index 910a88921..81f25f185 100644 --- a/src/entity/effect/EffectManager.php +++ b/src/entity/effect/EffectManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/HealthBoostEffect.php b/src/entity/effect/HealthBoostEffect.php index c1d2439da..90c5ee680 100644 --- a/src/entity/effect/HealthBoostEffect.php +++ b/src/entity/effect/HealthBoostEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/HungerEffect.php b/src/entity/effect/HungerEffect.php index d5b7fbdc7..949b148bc 100644 --- a/src/entity/effect/HungerEffect.php +++ b/src/entity/effect/HungerEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InstantDamageEffect.php b/src/entity/effect/InstantDamageEffect.php index 88a22b804..9461fd979 100644 --- a/src/entity/effect/InstantDamageEffect.php +++ b/src/entity/effect/InstantDamageEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InstantEffect.php b/src/entity/effect/InstantEffect.php index ac5852e2f..e4349e8d6 100644 --- a/src/entity/effect/InstantEffect.php +++ b/src/entity/effect/InstantEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InstantHealthEffect.php b/src/entity/effect/InstantHealthEffect.php index a591f237f..8cdc42f7d 100644 --- a/src/entity/effect/InstantHealthEffect.php +++ b/src/entity/effect/InstantHealthEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/InvisibilityEffect.php b/src/entity/effect/InvisibilityEffect.php index e17063067..d4c33dcd4 100644 --- a/src/entity/effect/InvisibilityEffect.php +++ b/src/entity/effect/InvisibilityEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/LevitationEffect.php b/src/entity/effect/LevitationEffect.php index 44e9caccd..9d1aa73c1 100644 --- a/src/entity/effect/LevitationEffect.php +++ b/src/entity/effect/LevitationEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/PoisonEffect.php b/src/entity/effect/PoisonEffect.php index 0047b3b6c..e1b903086 100644 --- a/src/entity/effect/PoisonEffect.php +++ b/src/entity/effect/PoisonEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/RegenerationEffect.php b/src/entity/effect/RegenerationEffect.php index ed5ca0f5f..28ba2b18b 100644 --- a/src/entity/effect/RegenerationEffect.php +++ b/src/entity/effect/RegenerationEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/SaturationEffect.php b/src/entity/effect/SaturationEffect.php index 638c78130..3e849e05c 100644 --- a/src/entity/effect/SaturationEffect.php +++ b/src/entity/effect/SaturationEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/SlownessEffect.php b/src/entity/effect/SlownessEffect.php index 6ab11bdbe..0bef535ec 100644 --- a/src/entity/effect/SlownessEffect.php +++ b/src/entity/effect/SlownessEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/SpeedEffect.php b/src/entity/effect/SpeedEffect.php index d84d3a6d6..8147592d0 100644 --- a/src/entity/effect/SpeedEffect.php +++ b/src/entity/effect/SpeedEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/StringToEffectParser.php b/src/entity/effect/StringToEffectParser.php index 2eb8731b9..5fa49027e 100644 --- a/src/entity/effect/StringToEffectParser.php +++ b/src/entity/effect/StringToEffectParser.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/VanillaEffects.php b/src/entity/effect/VanillaEffects.php index d382a9f60..249ce367c 100644 --- a/src/entity/effect/VanillaEffects.php +++ b/src/entity/effect/VanillaEffects.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/effect/WitherEffect.php b/src/entity/effect/WitherEffect.php index 5c8d6d463..b96c4ca51 100644 --- a/src/entity/effect/WitherEffect.php +++ b/src/entity/effect/WitherEffect.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/ExperienceOrb.php b/src/entity/object/ExperienceOrb.php index 274abf379..b3c0e221c 100644 --- a/src/entity/object/ExperienceOrb.php +++ b/src/entity/object/ExperienceOrb.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/FallingBlock.php b/src/entity/object/FallingBlock.php index cb2551349..5d3018d4b 100644 --- a/src/entity/object/FallingBlock.php +++ b/src/entity/object/FallingBlock.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/ItemEntity.php b/src/entity/object/ItemEntity.php index 73d67a192..7556e843d 100644 --- a/src/entity/object/ItemEntity.php +++ b/src/entity/object/ItemEntity.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/Painting.php b/src/entity/object/Painting.php index ff59de043..1d82d9c04 100644 --- a/src/entity/object/Painting.php +++ b/src/entity/object/Painting.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/PaintingMotive.php b/src/entity/object/PaintingMotive.php index 28b52efe3..719ae2583 100644 --- a/src/entity/object/PaintingMotive.php +++ b/src/entity/object/PaintingMotive.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/object/PrimedTNT.php b/src/entity/object/PrimedTNT.php index 70d58dafa..dd40cd94f 100644 --- a/src/entity/object/PrimedTNT.php +++ b/src/entity/object/PrimedTNT.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Arrow.php b/src/entity/projectile/Arrow.php index 47924c8cb..2ec412545 100644 --- a/src/entity/projectile/Arrow.php +++ b/src/entity/projectile/Arrow.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Egg.php b/src/entity/projectile/Egg.php index c12af4731..9c3826714 100644 --- a/src/entity/projectile/Egg.php +++ b/src/entity/projectile/Egg.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/EnderPearl.php b/src/entity/projectile/EnderPearl.php index 2714ab81d..1f92ee8d9 100644 --- a/src/entity/projectile/EnderPearl.php +++ b/src/entity/projectile/EnderPearl.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/ExperienceBottle.php b/src/entity/projectile/ExperienceBottle.php index eb69b0edf..c32af48a9 100644 --- a/src/entity/projectile/ExperienceBottle.php +++ b/src/entity/projectile/ExperienceBottle.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Projectile.php b/src/entity/projectile/Projectile.php index 1f652bda4..0d6fe2a35 100644 --- a/src/entity/projectile/Projectile.php +++ b/src/entity/projectile/Projectile.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/ProjectileSource.php b/src/entity/projectile/ProjectileSource.php index e74cafad9..09d115608 100644 --- a/src/entity/projectile/ProjectileSource.php +++ b/src/entity/projectile/ProjectileSource.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Snowball.php b/src/entity/projectile/Snowball.php index 54c18b6e3..cf9d7c689 100644 --- a/src/entity/projectile/Snowball.php +++ b/src/entity/projectile/Snowball.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/SplashPotion.php b/src/entity/projectile/SplashPotion.php index 364ded7c2..f9cee30a9 100644 --- a/src/entity/projectile/SplashPotion.php +++ b/src/entity/projectile/SplashPotion.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/projectile/Throwable.php b/src/entity/projectile/Throwable.php index 20bf86912..86a3e5e04 100644 --- a/src/entity/projectile/Throwable.php +++ b/src/entity/projectile/Throwable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/entity/utils/ExperienceUtils.php b/src/entity/utils/ExperienceUtils.php index c20c453c6..10e5b6721 100644 --- a/src/entity/utils/ExperienceUtils.php +++ b/src/entity/utils/ExperienceUtils.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/Cancellable.php b/src/event/Cancellable.php index e01d0b52d..990332c1d 100644 --- a/src/event/Cancellable.php +++ b/src/event/Cancellable.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/CancellableTrait.php b/src/event/CancellableTrait.php index 313c49928..da1a08744 100644 --- a/src/event/CancellableTrait.php +++ b/src/event/CancellableTrait.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/Event.php b/src/event/Event.php index 17f0417c5..7437283ac 100644 --- a/src/event/Event.php +++ b/src/event/Event.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/EventPriority.php b/src/event/EventPriority.php index 1ef6e9da3..cdeb3136a 100644 --- a/src/event/EventPriority.php +++ b/src/event/EventPriority.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/HandlerList.php b/src/event/HandlerList.php index 9687f0f8e..7d93c2ebe 100644 --- a/src/event/HandlerList.php +++ b/src/event/HandlerList.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/HandlerListManager.php b/src/event/HandlerListManager.php index 9d3154450..2440eca45 100644 --- a/src/event/HandlerListManager.php +++ b/src/event/HandlerListManager.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/Listener.php b/src/event/Listener.php index e39d0dcd9..50142880f 100644 --- a/src/event/Listener.php +++ b/src/event/Listener.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/ListenerMethodTags.php b/src/event/ListenerMethodTags.php index ba72fc4cf..cb932ce27 100644 --- a/src/event/ListenerMethodTags.php +++ b/src/event/ListenerMethodTags.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/RegisteredListener.php b/src/event/RegisteredListener.php index 01eca6801..d227fc2cb 100644 --- a/src/event/RegisteredListener.php +++ b/src/event/RegisteredListener.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BaseBlockChangeEvent.php b/src/event/block/BaseBlockChangeEvent.php index 224f5c123..ad4ecd5f6 100644 --- a/src/event/block/BaseBlockChangeEvent.php +++ b/src/event/block/BaseBlockChangeEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockBreakEvent.php b/src/event/block/BlockBreakEvent.php index e11a71ebc..2b83478af 100644 --- a/src/event/block/BlockBreakEvent.php +++ b/src/event/block/BlockBreakEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockBurnEvent.php b/src/event/block/BlockBurnEvent.php index b3a554e72..8f393987a 100644 --- a/src/event/block/BlockBurnEvent.php +++ b/src/event/block/BlockBurnEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockEvent.php b/src/event/block/BlockEvent.php index d506529ba..deb1ccf8d 100644 --- a/src/event/block/BlockEvent.php +++ b/src/event/block/BlockEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockFormEvent.php b/src/event/block/BlockFormEvent.php index f955319c0..5211e3a0f 100644 --- a/src/event/block/BlockFormEvent.php +++ b/src/event/block/BlockFormEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockGrowEvent.php b/src/event/block/BlockGrowEvent.php index 09389acbc..37fe2477a 100644 --- a/src/event/block/BlockGrowEvent.php +++ b/src/event/block/BlockGrowEvent.php @@ -17,7 +17,7 @@ * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); diff --git a/src/event/block/BlockItemPickupEvent.php b/src/event/block/BlockItemPickupEvent.php index 9b41b8730..872940103 100644 --- a/src/event/block/BlockItemPickupEvent.php +++ b/src/event/block/BlockItemPickupEvent.php @@ -1,5 +1,24 @@ Date: Sat, 4 Jun 2022 17:38:45 +0100 Subject: [PATCH 06/23] build fix --- build/generate-known-translation-apis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/generate-known-translation-apis.php b/build/generate-known-translation-apis.php index ce606a3de..e799735c0 100644 --- a/build/generate-known-translation-apis.php +++ b/build/generate-known-translation-apis.php @@ -75,7 +75,7 @@ const SHARED_HEADER = <<<'HEADER' * @link http://www.pocketmine.net/ * * -*/ + */ declare(strict_types=1); From e12e4e8fb878364fbc65b064c01542f5f0e4d4e1 Mon Sep 17 00:00:00 2001 From: NoClip <35138228+AkmalFairuz@users.noreply.github.com> Date: Sat, 4 Jun 2022 23:41:55 +0700 Subject: [PATCH 07/23] StatusCommand: fixed output of global memory limit (#5090) Fix incorrect "Maximum memory (manager)" output --- src/command/defaults/StatusCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/defaults/StatusCommand.php b/src/command/defaults/StatusCommand.php index d4076fcfe..7e5f9b544 100644 --- a/src/command/defaults/StatusCommand.php +++ b/src/command/defaults/StatusCommand.php @@ -103,7 +103,7 @@ class StatusCommand extends VanillaCommand{ $globalLimit = $server->getMemoryManager()->getGlobalMemoryLimit(); if($globalLimit > 0){ - $sender->sendMessage(TextFormat::GOLD . "Maximum memory (manager): " . TextFormat::RED . number_format(round($globalLimit, 2), 2) . " MB."); + $sender->sendMessage(TextFormat::GOLD . "Maximum memory (manager): " . TextFormat::RED . number_format(round(($globalLimit / 1024) / 1024, 2), 2) . " MB."); } foreach($server->getWorldManager()->getWorlds() as $world){ From e040c2b281a95269a69519ac88c7003277a427f0 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 5 Jun 2022 16:02:26 +0100 Subject: [PATCH 08/23] InventoryManager: fixed windows not opening when the server removes windows closes #5094 --- src/network/mcpe/InventoryManager.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/network/mcpe/InventoryManager.php b/src/network/mcpe/InventoryManager.php index 0b17832f4..4b7f870f8 100644 --- a/src/network/mcpe/InventoryManager.php +++ b/src/network/mcpe/InventoryManager.php @@ -269,11 +269,13 @@ class InventoryManager{ //initiated the close and expect an ack. $this->session->sendDataPacket(ContainerClosePacket::create($id, false)); - if($this->pendingOpenWindowCallback !== null && $id === $this->pendingCloseWindowId){ - $this->session->getLogger()->debug("Opening deferred window after close ack of window $id"); + if($this->pendingCloseWindowId === $id){ $this->pendingCloseWindowId = null; - ($this->pendingOpenWindowCallback)(); - $this->pendingOpenWindowCallback = null; + if($this->pendingOpenWindowCallback !== null){ + $this->session->getLogger()->debug("Opening deferred window after close ack of window $id"); + ($this->pendingOpenWindowCallback)(); + $this->pendingOpenWindowCallback = null; + } } } From 702816458c11f799f24ff5504aa68272889b4ab2 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 5 Jun 2022 16:15:34 +0100 Subject: [PATCH 09/23] Release 4.4.1 --- changelogs/4.4.md | 12 ++++++++++++ src/VersionInfo.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/changelogs/4.4.md b/changelogs/4.4.md index 070520d60..124bd44b0 100644 --- a/changelogs/4.4.md +++ b/changelogs/4.4.md @@ -75,3 +75,15 @@ Released 1st June 2022. - Added unit tests for the quote-aware command parser used by `SimpleCommandMap`. - Various hardcoded values in `block` package classes have been moved to private constants to improve readability. - Added various constants used in the `LevelDB` world provider. + +# 4.4.1 +Released 5th June 2022. + +## General +- The server process will now exit with an error code if plugins, worlds or network interfaces failed to start. + +## Fixes +- Fixed graylisted plugins preventing the server from starting. +- Fixed `composer make-server` command. +- Fixed the `Maximum memory (manager)` units being incorrectly displayed in `/status`. +- Fixed `Player->removeCurrentWindow()` breaking inventory windows. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index 4a5a3b369..f779f4f35 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -32,7 +32,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "4.4.1"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){ From 0771295899d41fe02c5e99705bd6d9286a960778 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 5 Jun 2022 16:15:38 +0100 Subject: [PATCH 10/23] 4.4.2 is next --- src/VersionInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VersionInfo.php b/src/VersionInfo.php index f779f4f35..a8705becd 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,8 +31,8 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "4.4.1"; - public const IS_DEVELOPMENT_BUILD = false; + public const BASE_VERSION = "4.4.2"; + public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; private function __construct(){ From b661097c513e8c6a56544da0483e3d79b4773e7b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 5 Jun 2022 17:59:36 +0100 Subject: [PATCH 11/23] changelog: fix mistake [ci skip] --- changelogs/4.4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelogs/4.4.md b/changelogs/4.4.md index 124bd44b0..58ccf83a1 100644 --- a/changelogs/4.4.md +++ b/changelogs/4.4.md @@ -84,6 +84,6 @@ Released 5th June 2022. ## Fixes - Fixed graylisted plugins preventing the server from starting. -- Fixed `composer make-server` command. +- Fixed `composer make-devtools` command. - Fixed the `Maximum memory (manager)` units being incorrectly displayed in `/status`. - Fixed `Player->removeCurrentWindow()` breaking inventory windows. From 6ecfbd1bdec03f87472bc684fb93fbf41aec6539 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 5 Jun 2022 20:20:16 +0100 Subject: [PATCH 12/23] FishingRod: make class less useless --- src/item/FishingRod.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/item/FishingRod.php b/src/item/FishingRod.php index 271066a0d..4d3f391bf 100644 --- a/src/item/FishingRod.php +++ b/src/item/FishingRod.php @@ -23,7 +23,15 @@ declare(strict_types=1); namespace pocketmine\item; -class FishingRod extends Item{ +class FishingRod extends Durable{ + + public function getMaxStackSize() : int{ + return 1; + } + + public function getMaxDurability() : int{ + return 384; + } //TODO } From 5fd685e07d61ef670584ed11a52fd5f4b99a81a7 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 6 Jun 2022 19:29:44 +0100 Subject: [PATCH 13/23] TypeConverter: fix crash on arbitrary out-of-bounds item IDs I don't know why I didn't consider this fix necessary when the item meta bug was originally discovered. --- src/network/mcpe/convert/TypeConverter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/mcpe/convert/TypeConverter.php b/src/network/mcpe/convert/TypeConverter.php index 856b398b6..2a74c9f07 100644 --- a/src/network/mcpe/convert/TypeConverter.php +++ b/src/network/mcpe/convert/TypeConverter.php @@ -234,6 +234,9 @@ class TypeConverter{ $compound = null; } } + if($id < -0x8000 || $id >= 0x7fff){ + throw new TypeConversionException("Item ID must be in range " . -0x8000 . " ... " . 0x7fff . " (received $id)"); + } if($meta < 0 || $meta >= 0x7fff){ //this meta value may have been restored from the NBT throw new TypeConversionException("Item meta must be in range 0 ... " . 0x7fff . " (received $meta)"); } From 1584768c80f519b50b8dad96393c1a1ac6ce1382 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 15:48:20 +0100 Subject: [PATCH 14/23] PaintingMotive: fixed botched painting fix from 0ea3861d434b017055dfaac5c11e4c90f3779fac I knew I should have used a singleton for this ... --- src/entity/object/PaintingMotive.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/entity/object/PaintingMotive.php b/src/entity/object/PaintingMotive.php index 719ae2583..ecbc478a5 100644 --- a/src/entity/object/PaintingMotive.php +++ b/src/entity/object/PaintingMotive.php @@ -30,6 +30,7 @@ class PaintingMotive{ protected static $motives = []; public static function init() : void{ + self::$initialized = true; foreach([ new PaintingMotive(1, 1, "Alban"), new PaintingMotive(1, 1, "Aztec"), @@ -67,10 +68,16 @@ class PaintingMotive{ } public static function registerMotive(PaintingMotive $motive) : void{ + if(!self::$initialized){ + self::init(); + } self::$motives[$motive->getName()] = $motive; } public static function getMotiveByName(string $name) : ?PaintingMotive{ + if(!self::$initialized){ + self::init(); + } return self::$motives[$name] ?? null; } From bcb0e2ff1f36b3642fc9ea84e04e6293d779a67a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 15:54:55 +0100 Subject: [PATCH 15/23] Release 4.4.2 --- changelogs/4.4.md | 8 ++++++++ src/VersionInfo.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/changelogs/4.4.md b/changelogs/4.4.md index 58ccf83a1..f1efa0ccd 100644 --- a/changelogs/4.4.md +++ b/changelogs/4.4.md @@ -87,3 +87,11 @@ Released 5th June 2022. - Fixed `composer make-devtools` command. - Fixed the `Maximum memory (manager)` units being incorrectly displayed in `/status`. - Fixed `Player->removeCurrentWindow()` breaking inventory windows. + +# 4.4.2 +Released 7th June 2022. + +## Fixes +- Fixed a crash when arbitrary item IDs appeared in network items in some cases. +- Fixed saved paintings being deleted when loaded from disk (regression from 4.3.4). +- Fixed max stack size of fishing rods. diff --git a/src/VersionInfo.php b/src/VersionInfo.php index a8705becd..d7e9b7860 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -32,7 +32,7 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; public const BASE_VERSION = "4.4.2"; - public const IS_DEVELOPMENT_BUILD = true; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){ From 50776875bbd9a6679c8fe0d89f956b245636491d Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 15:54:55 +0100 Subject: [PATCH 16/23] 4.4.3 is next --- src/VersionInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VersionInfo.php b/src/VersionInfo.php index d7e9b7860..ef524e931 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,8 +31,8 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "4.4.2"; - public const IS_DEVELOPMENT_BUILD = false; + public const BASE_VERSION = "4.4.3"; + public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; private function __construct(){ From ce66a400a7fbad8fac4de6e0b958a0cbab74d013 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 17:44:06 +0100 Subject: [PATCH 17/23] Updated composer dependencies --- composer.lock | 112 +++++++------------------------------------------- 1 file changed, 15 insertions(+), 97 deletions(-) diff --git a/composer.lock b/composer.lock index 70a4b19cc..3b88b8ca8 100644 --- a/composer.lock +++ b/composer.lock @@ -1022,100 +1022,18 @@ ], "time": "2022-03-27T21:42:02+00:00" }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.25.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-10-20T20:35:02+00:00" - }, { "name": "symfony/polyfill-php81", - "version": "v1.25.0", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", "shasum": "" }, "require": { @@ -1124,7 +1042,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1165,7 +1083,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" }, "funding": [ { @@ -1181,25 +1099,25 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2022-05-24T11:49:31+00:00" }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -1237,9 +1155,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" }, { "name": "webmozart/path-util", From 016a80bb7030ab5c1fed452c1332f0276901af74 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 17:47:13 +0100 Subject: [PATCH 18/23] 1.19.0 changes --- composer.json | 4 +- composer.lock | 28 ++++++------- .../mcpe/handler/InGamePacketHandler.php | 41 +++++++++++-------- .../mcpe/handler/PreSpawnPacketHandler.php | 5 +++ 4 files changed, 45 insertions(+), 33 deletions(-) diff --git a/composer.json b/composer.json index 3f417d1f2..479b8229f 100644 --- a/composer.json +++ b/composer.json @@ -34,8 +34,8 @@ "adhocore/json-comment": "^1.1", "fgrosse/phpasn1": "^2.3", "netresearch/jsonmapper": "^4.0", - "pocketmine/bedrock-data": "~1.7.0+bedrock-1.18.30", - "pocketmine/bedrock-protocol": "~9.0.0+bedrock-1.18.30", + "pocketmine/bedrock-data": "~1.8.0+bedrock-1.19.0", + "pocketmine/bedrock-protocol": "~10.0.0+bedrock-1.19.0", "pocketmine/binaryutils": "^0.2.1", "pocketmine/callback-validator": "^1.0.2", "pocketmine/classloader": "^0.2.0", diff --git a/composer.lock b/composer.lock index 3b88b8ca8..e71a6396c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1e967ff64cee3cae84242cc3e5a51752", + "content-hash": "363ffec55c206510b591b54f10138fc0", "packages": [ { "name": "adhocore/json-comment", @@ -249,16 +249,16 @@ }, { "name": "pocketmine/bedrock-data", - "version": "1.7.0+bedrock-1.18.30", + "version": "1.8.0+bedrock-1.19.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockData.git", - "reference": "c8f323ff0cbdb36a5d95e7e4a23969f562445be0" + "reference": "e654d0a6e5dfd55f8546097ea629c528a70c30ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/c8f323ff0cbdb36a5d95e7e4a23969f562445be0", - "reference": "c8f323ff0cbdb36a5d95e7e4a23969f562445be0", + "url": "https://api.github.com/repos/pmmp/BedrockData/zipball/e654d0a6e5dfd55f8546097ea629c528a70c30ee", + "reference": "e654d0a6e5dfd55f8546097ea629c528a70c30ee", "shasum": "" }, "type": "library", @@ -269,22 +269,22 @@ "description": "Blobs of data generated from Minecraft: Bedrock Edition, used by PocketMine-MP", "support": { "issues": "https://github.com/pmmp/BedrockData/issues", - "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.18.30" + "source": "https://github.com/pmmp/BedrockData/tree/bedrock-1.19.0" }, - "time": "2022-04-20T12:40:59+00:00" + "time": "2022-06-07T16:20:20+00:00" }, { "name": "pocketmine/bedrock-protocol", - "version": "9.0.2+bedrock-1.18.30", + "version": "10.0.0+bedrock-1.19.0", "source": { "type": "git", "url": "https://github.com/pmmp/BedrockProtocol.git", - "reference": "37f1cd017caf7aaaa90330ee54690098283589cb" + "reference": "7c17498541bb9a375b945cb131e951674067c00e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/37f1cd017caf7aaaa90330ee54690098283589cb", - "reference": "37f1cd017caf7aaaa90330ee54690098283589cb", + "url": "https://api.github.com/repos/pmmp/BedrockProtocol/zipball/7c17498541bb9a375b945cb131e951674067c00e", + "reference": "7c17498541bb9a375b945cb131e951674067c00e", "shasum": "" }, "require": { @@ -298,7 +298,7 @@ "ramsey/uuid": "^4.1" }, "require-dev": { - "phpstan/phpstan": "1.7.4", + "phpstan/phpstan": "1.7.11", "phpstan/phpstan-phpunit": "^1.0.0", "phpstan/phpstan-strict-rules": "^1.0.0", "phpunit/phpunit": "^9.5" @@ -316,9 +316,9 @@ "description": "An implementation of the Minecraft: Bedrock Edition protocol in PHP", "support": { "issues": "https://github.com/pmmp/BedrockProtocol/issues", - "source": "https://github.com/pmmp/BedrockProtocol/tree/9.0.2+bedrock-1.18.30" + "source": "https://github.com/pmmp/BedrockProtocol/tree/10.0.0+bedrock-1.19.0" }, - "time": "2022-05-30T15:09:53+00:00" + "time": "2022-06-07T16:31:30+00:00" }, { "name": "pocketmine/binaryutils", diff --git a/src/network/mcpe/handler/InGamePacketHandler.php b/src/network/mcpe/handler/InGamePacketHandler.php index e6a30a06e..7d4fe3b59 100644 --- a/src/network/mcpe/handler/InGamePacketHandler.php +++ b/src/network/mcpe/handler/InGamePacketHandler.php @@ -80,6 +80,7 @@ use pocketmine\network\mcpe\protocol\PlayerAuthInputPacket; use pocketmine\network\mcpe\protocol\PlayerHotbarPacket; use pocketmine\network\mcpe\protocol\PlayerInputPacket; use pocketmine\network\mcpe\protocol\PlayerSkinPacket; +use pocketmine\network\mcpe\protocol\RequestAbilityPacket; use pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket; use pocketmine\network\mcpe\protocol\ServerSettingsRequestPacket; use pocketmine\network\mcpe\protocol\SetActorMotionPacket; @@ -114,6 +115,7 @@ use function count; use function fmod; use function implode; use function in_array; +use function is_bool; use function is_infinite; use function is_nan; use function json_decode; @@ -610,6 +612,9 @@ class InGamePacketHandler extends PacketHandler{ case PlayerAction::CREATIVE_PLAYER_DESTROY_BLOCK: //TODO: do we need to handle this? break; + case PlayerAction::START_ITEM_USE_ON: + case PlayerAction::STOP_ITEM_USE_ON: + //TODO: this has no obvious use and seems only used for analytics in vanilla - ignore it default: $this->session->getLogger()->debug("Unhandled/unknown player action type " . $action); return false; @@ -642,23 +647,7 @@ class InGamePacketHandler extends PacketHandler{ } public function handleAdventureSettings(AdventureSettingsPacket $packet) : bool{ - if($packet->targetActorUniqueId !== $this->player->getId()){ - return false; //TODO: operators can change other people's permissions using this - } - - $handled = false; - - $isFlying = $packet->getFlag(AdventureSettingsPacket::FLYING); - if($isFlying !== $this->player->isFlying()){ - if(!$this->player->toggleFlight($isFlying)){ - $this->session->syncAdventureSettings($this->player); - } - $handled = true; - } - - //TODO: check for other changes - - return $handled; + return true; //no longer used, but the client still sends it for flight changes } public function handleBlockActorData(BlockActorDataPacket $packet) : bool{ @@ -980,4 +969,22 @@ class InGamePacketHandler extends PacketHandler{ $this->player->emote($packet->getEmoteId()); return true; } + + public function handleRequestAbility(RequestAbilityPacket $packet) : bool{ + if($packet->getAbilityId() === RequestAbilityPacket::ABILITY_FLYING){ + $isFlying = $packet->getAbilityValue(); + if(!is_bool($isFlying)){ + throw new PacketHandlingException("Flying ability should always have a bool value"); + } + if($isFlying !== $this->player->isFlying()){ + if(!$this->player->toggleFlight($isFlying)){ + $this->session->syncAdventureSettings($this->player); + } + } + + return true; + } + + return false; + } } diff --git a/src/network/mcpe/handler/PreSpawnPacketHandler.php b/src/network/mcpe/handler/PreSpawnPacketHandler.php index be563b230..52a69d5b5 100644 --- a/src/network/mcpe/handler/PreSpawnPacketHandler.php +++ b/src/network/mcpe/handler/PreSpawnPacketHandler.php @@ -23,6 +23,7 @@ declare(strict_types=1); namespace pocketmine\network\mcpe\handler; +use pocketmine\nbt\tag\CompoundTag; use pocketmine\network\mcpe\cache\CraftingDataCache; use pocketmine\network\mcpe\cache\StaticPacketCache; use pocketmine\network\mcpe\convert\GlobalItemTypeDictionary; @@ -33,6 +34,7 @@ use pocketmine\network\mcpe\protocol\RequestChunkRadiusPacket; use pocketmine\network\mcpe\protocol\StartGamePacket; use pocketmine\network\mcpe\protocol\types\BlockPosition; use pocketmine\network\mcpe\protocol\types\BoolGameRule; +use pocketmine\network\mcpe\protocol\types\CacheableNbt; use pocketmine\network\mcpe\protocol\types\DimensionIds; use pocketmine\network\mcpe\protocol\types\Experiments; use pocketmine\network\mcpe\protocol\types\LevelSettings; @@ -42,6 +44,7 @@ use pocketmine\network\mcpe\protocol\types\SpawnSettings; use pocketmine\player\Player; use pocketmine\Server; use pocketmine\VersionInfo; +use Ramsey\Uuid\Uuid; use function sprintf; /** @@ -82,6 +85,7 @@ class PreSpawnPacketHandler extends PacketHandler{ $this->player->getOffsetPosition($location), $location->pitch, $location->yaw, + new CacheableNbt(CompoundTag::create()), //TODO: we don't care about this right now $levelSettings, "", $this->server->getMotd(), @@ -93,6 +97,7 @@ class PreSpawnPacketHandler extends PacketHandler{ "", false, sprintf("%s %s", VersionInfo::NAME, VersionInfo::VERSION()->getFullVersion(true)), + Uuid::fromString(Uuid::NIL), [], 0, GlobalItemTypeDictionary::getInstance()->getDictionary()->getEntries() From 4ec97d0f7ae84270abc77f02fc57b4f60d1ba87d Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 17:52:59 +0100 Subject: [PATCH 19/23] InGamePacketHandler: added missing break I'm getting sloppy ... --- src/network/mcpe/handler/InGamePacketHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/mcpe/handler/InGamePacketHandler.php b/src/network/mcpe/handler/InGamePacketHandler.php index 7d4fe3b59..bc21ec23e 100644 --- a/src/network/mcpe/handler/InGamePacketHandler.php +++ b/src/network/mcpe/handler/InGamePacketHandler.php @@ -615,6 +615,7 @@ class InGamePacketHandler extends PacketHandler{ case PlayerAction::START_ITEM_USE_ON: case PlayerAction::STOP_ITEM_USE_ON: //TODO: this has no obvious use and seems only used for analytics in vanilla - ignore it + break; default: $this->session->getLogger()->debug("Unhandled/unknown player action type " . $action); return false; From 64a8c462f933b2e4ac29b918df56113c7767f0be Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 17:57:39 +0100 Subject: [PATCH 20/23] Release 4.5.0 --- changelogs/4.5.md | 14 ++++++++++++++ src/VersionInfo.php | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 changelogs/4.5.md diff --git a/changelogs/4.5.md b/changelogs/4.5.md new file mode 100644 index 000000000..12fa0379e --- /dev/null +++ b/changelogs/4.5.md @@ -0,0 +1,14 @@ +**For Minecraft: Bedrock Edition 1.19.0** + +### Note about API versions +Plugins which don't touch the protocol and compatible with any previous 4.x.y version will also run on these releases and do not need API bumps. +Plugin developers should **only** update their required API to this version if you need the changes in this build. + +**WARNING: If your plugin uses the protocol, you're not shielded by API change constraints.** You should consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if you do. + +# 4.5.0 +Released 7th June 2022. + +## General +- Added support for Minecraft: Bedrock Edition 1.19.0. +- Removed support for older versions. \ No newline at end of file diff --git a/src/VersionInfo.php b/src/VersionInfo.php index ef524e931..d28e7f67b 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,8 +31,8 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "4.4.3"; - public const IS_DEVELOPMENT_BUILD = true; + public const BASE_VERSION = "4.5.0"; + public const IS_DEVELOPMENT_BUILD = false; public const BUILD_CHANNEL = "stable"; private function __construct(){ From 82edb20e0ce9bd1caa9c4e28a34fc3aa8cfb0d02 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 17:57:39 +0100 Subject: [PATCH 21/23] 4.5.1 is next --- src/VersionInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VersionInfo.php b/src/VersionInfo.php index d28e7f67b..67bf3fde6 100644 --- a/src/VersionInfo.php +++ b/src/VersionInfo.php @@ -31,8 +31,8 @@ use function str_repeat; final class VersionInfo{ public const NAME = "PocketMine-MP"; - public const BASE_VERSION = "4.5.0"; - public const IS_DEVELOPMENT_BUILD = false; + public const BASE_VERSION = "4.5.1"; + public const IS_DEVELOPMENT_BUILD = true; public const BUILD_CHANNEL = "stable"; private function __construct(){ From becbd562d677ad5f9689a60c1c729265454702c8 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 19:47:45 +0100 Subject: [PATCH 22/23] FormattedCommandAlias: fixed incorrect arguments array being passed to the target --- src/command/FormattedCommandAlias.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/FormattedCommandAlias.php b/src/command/FormattedCommandAlias.php index f0ed923b5..21d2c0e70 100644 --- a/src/command/FormattedCommandAlias.php +++ b/src/command/FormattedCommandAlias.php @@ -85,7 +85,7 @@ class FormattedCommandAlias extends Command{ $target->timings->startTiming(); try{ - $target->execute($sender, $commandLabel, $args); + $target->execute($sender, $commandLabel, $commandArgs); }catch(InvalidCommandSyntaxException $e){ $sender->sendMessage($sender->getLanguage()->translate(KnownTranslationFactory::commands_generic_usage($target->getUsage()))); }finally{ From 01a8bce2dd01787575673496259688440fda0f02 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Jun 2022 19:54:51 +0100 Subject: [PATCH 23/23] Fix whitespace error in support.yml workflow --- .github/workflows/support.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml index d627f166f..cec31561a 100644 --- a/.github/workflows/support.yml +++ b/.github/workflows/support.yml @@ -17,7 +17,7 @@ jobs: Instead of creating a bug report, try the following: - + - Check our [Documentation](https://doc.pmmp.io) to see if you can find answers there - Ask the community on our [Discord server](https://discord.gg/bmSAZBG) or our [Forums](https://forums.pmmp.io)