diff --git a/src/pocketmine/CrashDump.php b/src/pocketmine/CrashDump.php index 2aff493d3..3c3e78bc8 100644 --- a/src/pocketmine/CrashDump.php +++ b/src/pocketmine/CrashDump.php @@ -257,4 +257,4 @@ class CrashDump{ fwrite($this->fp, $str); } -} \ No newline at end of file +} diff --git a/src/pocketmine/ThreadManager.php b/src/pocketmine/ThreadManager.php index 1d615e6da..0691a3b89 100644 --- a/src/pocketmine/ThreadManager.php +++ b/src/pocketmine/ThreadManager.php @@ -89,4 +89,4 @@ class ThreadManager extends \Volatile{ return $erroredThreads; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Air.php b/src/pocketmine/block/Air.php index 7ebe36856..8ce2a79cb 100644 --- a/src/pocketmine/block/Air.php +++ b/src/pocketmine/block/Air.php @@ -82,4 +82,4 @@ class Air extends Transparent{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Anvil.php b/src/pocketmine/block/Anvil.php index 5a8672512..bd1d8e49d 100644 --- a/src/pocketmine/block/Anvil.php +++ b/src/pocketmine/block/Anvil.php @@ -115,4 +115,4 @@ class Anvil extends Fallable{ ItemFactory::get($this->getItemId(), $this->getDamage() & 0x0c) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Bedrock.php b/src/pocketmine/block/Bedrock.php index de108cf9f..f59c73798 100644 --- a/src/pocketmine/block/Bedrock.php +++ b/src/pocketmine/block/Bedrock.php @@ -49,4 +49,4 @@ class Bedrock extends Solid{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Beetroot.php b/src/pocketmine/block/Beetroot.php index 0212c65fd..a6cc04752 100644 --- a/src/pocketmine/block/Beetroot.php +++ b/src/pocketmine/block/Beetroot.php @@ -54,4 +54,4 @@ class Beetroot extends Crops{ public function getPickedItem() : Item{ return ItemFactory::get(Item::BEETROOT_SEEDS); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BlockFactory.php b/src/pocketmine/block/BlockFactory.php index 7bf6157fb..37923fc6b 100644 --- a/src/pocketmine/block/BlockFactory.php +++ b/src/pocketmine/block/BlockFactory.php @@ -417,4 +417,4 @@ class BlockFactory{ $b = self::$list[$id]; return $b !== null and !($b instanceof UnknownBlock); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BlockToolType.php b/src/pocketmine/block/BlockToolType.php index 0239c6a02..17670e1c7 100644 --- a/src/pocketmine/block/BlockToolType.php +++ b/src/pocketmine/block/BlockToolType.php @@ -36,4 +36,4 @@ interface BlockToolType{ public const TYPE_AXE = 1 << 3; public const TYPE_SHEARS = 1 << 4; -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BoneBlock.php b/src/pocketmine/block/BoneBlock.php index b8be9ba12..696565fae 100644 --- a/src/pocketmine/block/BoneBlock.php +++ b/src/pocketmine/block/BoneBlock.php @@ -61,4 +61,4 @@ class BoneBlock extends Solid{ public function getVariantBitmask() : int{ return 0x03; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Bookshelf.php b/src/pocketmine/block/Bookshelf.php index 9c7c87cba..70fa88b94 100644 --- a/src/pocketmine/block/Bookshelf.php +++ b/src/pocketmine/block/Bookshelf.php @@ -56,4 +56,4 @@ class Bookshelf extends Solid{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BrewingStand.php b/src/pocketmine/block/BrewingStand.php index c1c6ef839..c2ad6f948 100644 --- a/src/pocketmine/block/BrewingStand.php +++ b/src/pocketmine/block/BrewingStand.php @@ -54,4 +54,4 @@ class BrewingStand extends Transparent{ } //TODO -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BrickStairs.php b/src/pocketmine/block/BrickStairs.php index 4a02d5923..fb3fb27e1 100644 --- a/src/pocketmine/block/BrickStairs.php +++ b/src/pocketmine/block/BrickStairs.php @@ -53,4 +53,4 @@ class BrickStairs extends Stair{ return "Brick Stairs"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Bricks.php b/src/pocketmine/block/Bricks.php index 4582c1db6..22f0c1fc7 100644 --- a/src/pocketmine/block/Bricks.php +++ b/src/pocketmine/block/Bricks.php @@ -52,4 +52,4 @@ class Bricks extends Solid{ public function getName() : string{ return "Bricks"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BrownMushroom.php b/src/pocketmine/block/BrownMushroom.php index 00a43b844..dbb78e176 100644 --- a/src/pocketmine/block/BrownMushroom.php +++ b/src/pocketmine/block/BrownMushroom.php @@ -34,4 +34,4 @@ class BrownMushroom extends RedMushroom{ public function getLightLevel() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BrownMushroomBlock.php b/src/pocketmine/block/BrownMushroomBlock.php index 62e65d06f..491e08a62 100644 --- a/src/pocketmine/block/BrownMushroomBlock.php +++ b/src/pocketmine/block/BrownMushroomBlock.php @@ -38,4 +38,4 @@ class BrownMushroomBlock extends RedMushroomBlock{ Item::get(Item::BROWN_MUSHROOM, 0, mt_rand(0, 2)) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/BurningFurnace.php b/src/pocketmine/block/BurningFurnace.php index ad09052af..60d2f7192 100644 --- a/src/pocketmine/block/BurningFurnace.php +++ b/src/pocketmine/block/BurningFurnace.php @@ -94,4 +94,4 @@ class BurningFurnace extends Solid{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Button.php b/src/pocketmine/block/Button.php index 4d6993fa4..2745fdd58 100644 --- a/src/pocketmine/block/Button.php +++ b/src/pocketmine/block/Button.php @@ -48,4 +48,4 @@ abstract class Button extends Flowable{ //TODO return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Cactus.php b/src/pocketmine/block/Cactus.php index 694439a53..97413d697 100644 --- a/src/pocketmine/block/Cactus.php +++ b/src/pocketmine/block/Cactus.php @@ -132,4 +132,4 @@ class Cactus extends Transparent{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Carpet.php b/src/pocketmine/block/Carpet.php index 5a52d2592..c1f7f50f2 100644 --- a/src/pocketmine/block/Carpet.php +++ b/src/pocketmine/block/Carpet.php @@ -85,4 +85,4 @@ class Carpet extends Flowable{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Carrot.php b/src/pocketmine/block/Carrot.php index 8b2cdf7cc..42f6133f2 100644 --- a/src/pocketmine/block/Carrot.php +++ b/src/pocketmine/block/Carrot.php @@ -47,4 +47,4 @@ class Carrot extends Crops{ public function getPickedItem() : Item{ return ItemFactory::get(Item::CARROT); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Chest.php b/src/pocketmine/block/Chest.php index 868fd102e..fee491a74 100644 --- a/src/pocketmine/block/Chest.php +++ b/src/pocketmine/block/Chest.php @@ -143,4 +143,4 @@ class Chest extends Transparent{ public function getFuelTime() : int{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Clay.php b/src/pocketmine/block/Clay.php index 595573974..12758b802 100644 --- a/src/pocketmine/block/Clay.php +++ b/src/pocketmine/block/Clay.php @@ -51,4 +51,4 @@ class Clay extends Solid{ ItemFactory::get(Item::CLAY_BALL, 0, 4) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Coal.php b/src/pocketmine/block/Coal.php index 05495fcc8..3399e3306 100644 --- a/src/pocketmine/block/Coal.php +++ b/src/pocketmine/block/Coal.php @@ -52,4 +52,4 @@ class Coal extends Solid{ public function getFuelTime() : int{ return 16000; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/CoalOre.php b/src/pocketmine/block/CoalOre.php index b5b062771..717302f56 100644 --- a/src/pocketmine/block/CoalOre.php +++ b/src/pocketmine/block/CoalOre.php @@ -57,4 +57,4 @@ class CoalOre extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Cobblestone.php b/src/pocketmine/block/Cobblestone.php index 2c9441df3..87169fc63 100644 --- a/src/pocketmine/block/Cobblestone.php +++ b/src/pocketmine/block/Cobblestone.php @@ -48,4 +48,4 @@ class Cobblestone extends Solid{ public function getHardness() : float{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/CobblestoneStairs.php b/src/pocketmine/block/CobblestoneStairs.php index b50d8fba2..d8db4d40c 100644 --- a/src/pocketmine/block/CobblestoneStairs.php +++ b/src/pocketmine/block/CobblestoneStairs.php @@ -49,4 +49,4 @@ class CobblestoneStairs extends Stair{ return "Cobblestone Stairs"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Cobweb.php b/src/pocketmine/block/Cobweb.php index eecd2ba3e..c20cc35f5 100644 --- a/src/pocketmine/block/Cobweb.php +++ b/src/pocketmine/block/Cobweb.php @@ -68,4 +68,4 @@ class Cobweb extends Flowable{ public function diffusesSkyLight() : bool{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Concrete.php b/src/pocketmine/block/Concrete.php index d3f9507c3..9148d9f50 100644 --- a/src/pocketmine/block/Concrete.php +++ b/src/pocketmine/block/Concrete.php @@ -49,4 +49,4 @@ class Concrete extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/ConcretePowder.php b/src/pocketmine/block/ConcretePowder.php index 4e8dc0187..3f840dc4d 100644 --- a/src/pocketmine/block/ConcretePowder.php +++ b/src/pocketmine/block/ConcretePowder.php @@ -74,4 +74,4 @@ class ConcretePowder extends Fallable{ return null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/CraftingTable.php b/src/pocketmine/block/CraftingTable.php index a91ba5d1c..da41090af 100644 --- a/src/pocketmine/block/CraftingTable.php +++ b/src/pocketmine/block/CraftingTable.php @@ -58,4 +58,4 @@ class CraftingTable extends Solid{ public function getFuelTime() : int{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Crops.php b/src/pocketmine/block/Crops.php index 1eceeef48..e0569bf8f 100644 --- a/src/pocketmine/block/Crops.php +++ b/src/pocketmine/block/Crops.php @@ -95,4 +95,4 @@ abstract class Crops extends Flowable{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Dandelion.php b/src/pocketmine/block/Dandelion.php index aaba2ae50..58a1d7b2a 100644 --- a/src/pocketmine/block/Dandelion.php +++ b/src/pocketmine/block/Dandelion.php @@ -63,4 +63,4 @@ class Dandelion extends Flowable{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DeadBush.php b/src/pocketmine/block/DeadBush.php index e5bce9315..c6e089d87 100644 --- a/src/pocketmine/block/DeadBush.php +++ b/src/pocketmine/block/DeadBush.php @@ -69,4 +69,4 @@ class DeadBush extends Flowable{ return parent::getDrops($item); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Diamond.php b/src/pocketmine/block/Diamond.php index b28f61c2a..8deea0468 100644 --- a/src/pocketmine/block/Diamond.php +++ b/src/pocketmine/block/Diamond.php @@ -48,4 +48,4 @@ class Diamond extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_IRON; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DiamondOre.php b/src/pocketmine/block/DiamondOre.php index 0f86ecc65..7bbb2e178 100644 --- a/src/pocketmine/block/DiamondOre.php +++ b/src/pocketmine/block/DiamondOre.php @@ -56,4 +56,4 @@ class DiamondOre extends Solid{ ItemFactory::get(Item::DIAMOND) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Dirt.php b/src/pocketmine/block/Dirt.php index 4b92c1163..3b438e804 100644 --- a/src/pocketmine/block/Dirt.php +++ b/src/pocketmine/block/Dirt.php @@ -63,4 +63,4 @@ class Dirt extends Solid{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Door.php b/src/pocketmine/block/Door.php index b854eaab0..e9d280c1d 100644 --- a/src/pocketmine/block/Door.php +++ b/src/pocketmine/block/Door.php @@ -286,4 +286,4 @@ abstract class Door extends Transparent{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DoublePlant.php b/src/pocketmine/block/DoublePlant.php index 86e649943..35d595c4f 100644 --- a/src/pocketmine/block/DoublePlant.php +++ b/src/pocketmine/block/DoublePlant.php @@ -132,4 +132,4 @@ class DoublePlant extends Flowable{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DoubleSlab.php b/src/pocketmine/block/DoubleSlab.php index 22bcb08a6..7ccecccd0 100644 --- a/src/pocketmine/block/DoubleSlab.php +++ b/src/pocketmine/block/DoubleSlab.php @@ -44,4 +44,4 @@ abstract class DoubleSlab extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DoubleStoneSlab.php b/src/pocketmine/block/DoubleStoneSlab.php index 52362daf3..1466828ea 100644 --- a/src/pocketmine/block/DoubleStoneSlab.php +++ b/src/pocketmine/block/DoubleStoneSlab.php @@ -44,4 +44,4 @@ class DoubleStoneSlab extends DoubleSlab{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DoubleStoneSlab2.php b/src/pocketmine/block/DoubleStoneSlab2.php index 80d6e740e..713ffa08a 100644 --- a/src/pocketmine/block/DoubleStoneSlab2.php +++ b/src/pocketmine/block/DoubleStoneSlab2.php @@ -31,4 +31,4 @@ class DoubleStoneSlab2 extends DoubleStoneSlab{ return self::STONE_SLAB2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/DoubleWoodenSlab.php b/src/pocketmine/block/DoubleWoodenSlab.php index 1eea2fa20..19d706d68 100644 --- a/src/pocketmine/block/DoubleWoodenSlab.php +++ b/src/pocketmine/block/DoubleWoodenSlab.php @@ -38,4 +38,4 @@ class DoubleWoodenSlab extends DoubleSlab{ public function getToolType() : int{ return BlockToolType::TYPE_AXE; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Emerald.php b/src/pocketmine/block/Emerald.php index 88dd07d2a..7c5051051 100644 --- a/src/pocketmine/block/Emerald.php +++ b/src/pocketmine/block/Emerald.php @@ -48,4 +48,4 @@ class Emerald extends Solid{ public function getName() : string{ return "Emerald Block"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EmeraldOre.php b/src/pocketmine/block/EmeraldOre.php index 733f31d12..7e790702a 100644 --- a/src/pocketmine/block/EmeraldOre.php +++ b/src/pocketmine/block/EmeraldOre.php @@ -56,4 +56,4 @@ class EmeraldOre extends Solid{ ItemFactory::get(Item::EMERALD) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EnchantingTable.php b/src/pocketmine/block/EnchantingTable.php index 6f7fd2607..5574677c4 100644 --- a/src/pocketmine/block/EnchantingTable.php +++ b/src/pocketmine/block/EnchantingTable.php @@ -76,4 +76,4 @@ class EnchantingTable extends Transparent{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EndPortalFrame.php b/src/pocketmine/block/EndPortalFrame.php index c9f88117b..5ecf29556 100644 --- a/src/pocketmine/block/EndPortalFrame.php +++ b/src/pocketmine/block/EndPortalFrame.php @@ -65,4 +65,4 @@ class EndPortalFrame extends Solid{ $this->z + 1 ); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EndRod.php b/src/pocketmine/block/EndRod.php index 67b71bcfa..91251ab75 100644 --- a/src/pocketmine/block/EndRod.php +++ b/src/pocketmine/block/EndRod.php @@ -101,4 +101,4 @@ class EndRod extends Flowable{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EndStone.php b/src/pocketmine/block/EndStone.php index 897fd2ee3..d7147f8de 100644 --- a/src/pocketmine/block/EndStone.php +++ b/src/pocketmine/block/EndStone.php @@ -48,4 +48,4 @@ class EndStone extends Solid{ public function getHardness() : float{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EndStoneBricks.php b/src/pocketmine/block/EndStoneBricks.php index 740858493..87ba1cb29 100644 --- a/src/pocketmine/block/EndStoneBricks.php +++ b/src/pocketmine/block/EndStoneBricks.php @@ -48,4 +48,4 @@ class EndStoneBricks extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/EnderChest.php b/src/pocketmine/block/EnderChest.php index 7a206695a..7e0e21120 100644 --- a/src/pocketmine/block/EnderChest.php +++ b/src/pocketmine/block/EnderChest.php @@ -111,4 +111,4 @@ class EnderChest extends Chest{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Fallable.php b/src/pocketmine/block/Fallable.php index 3f00b8ae7..141d47c29 100644 --- a/src/pocketmine/block/Fallable.php +++ b/src/pocketmine/block/Fallable.php @@ -54,4 +54,4 @@ abstract class Fallable extends Solid{ public function tickFalling() : ?Block{ return null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Farmland.php b/src/pocketmine/block/Farmland.php index b8a28cd13..789c97845 100644 --- a/src/pocketmine/block/Farmland.php +++ b/src/pocketmine/block/Farmland.php @@ -112,4 +112,4 @@ class Farmland extends Transparent{ ItemFactory::get(Item::DIRT) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Fire.php b/src/pocketmine/block/Fire.php index 73ea857b4..fed89325d 100644 --- a/src/pocketmine/block/Fire.php +++ b/src/pocketmine/block/Fire.php @@ -114,4 +114,4 @@ class Fire extends Flowable{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Flowable.php b/src/pocketmine/block/Flowable.php index 007ecacbe..5df4e9690 100644 --- a/src/pocketmine/block/Flowable.php +++ b/src/pocketmine/block/Flowable.php @@ -42,4 +42,4 @@ abstract class Flowable extends Transparent{ protected function recalculateBoundingBox() : ?AxisAlignedBB{ return null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Flower.php b/src/pocketmine/block/Flower.php index 869daaea9..d5c7ac4ad 100644 --- a/src/pocketmine/block/Flower.php +++ b/src/pocketmine/block/Flower.php @@ -82,4 +82,4 @@ class Flower extends Flowable{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/FlowerPot.php b/src/pocketmine/block/FlowerPot.php index 68157f8c8..cb5cc39f3 100644 --- a/src/pocketmine/block/FlowerPot.php +++ b/src/pocketmine/block/FlowerPot.php @@ -110,4 +110,4 @@ class FlowerPot extends Flowable{ return $items; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Furnace.php b/src/pocketmine/block/Furnace.php index c55450025..eb8acd9ed 100644 --- a/src/pocketmine/block/Furnace.php +++ b/src/pocketmine/block/Furnace.php @@ -35,4 +35,4 @@ class Furnace extends BurningFurnace{ public function getLightLevel() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Glass.php b/src/pocketmine/block/Glass.php index 6e7d19a1d..42bd5cdd9 100644 --- a/src/pocketmine/block/Glass.php +++ b/src/pocketmine/block/Glass.php @@ -44,4 +44,4 @@ class Glass extends Transparent{ public function getDropsForCompatibleTool(Item $item) : array{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/GlassPane.php b/src/pocketmine/block/GlassPane.php index f4ac56199..c009460af 100644 --- a/src/pocketmine/block/GlassPane.php +++ b/src/pocketmine/block/GlassPane.php @@ -44,4 +44,4 @@ class GlassPane extends Thin{ public function getDropsForCompatibleTool(Item $item) : array{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/GlazedTerracotta.php b/src/pocketmine/block/GlazedTerracotta.php index 5d555d7fa..336b51325 100644 --- a/src/pocketmine/block/GlazedTerracotta.php +++ b/src/pocketmine/block/GlazedTerracotta.php @@ -60,4 +60,4 @@ class GlazedTerracotta extends Solid{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/GlowingObsidian.php b/src/pocketmine/block/GlowingObsidian.php index 49fee8532..74c129c21 100644 --- a/src/pocketmine/block/GlowingObsidian.php +++ b/src/pocketmine/block/GlowingObsidian.php @@ -57,4 +57,4 @@ class GlowingObsidian extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_DIAMOND; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/GlowingRedstoneOre.php b/src/pocketmine/block/GlowingRedstoneOre.php index 227ee82d2..b9c3b0acf 100644 --- a/src/pocketmine/block/GlowingRedstoneOre.php +++ b/src/pocketmine/block/GlowingRedstoneOre.php @@ -46,4 +46,4 @@ class GlowingRedstoneOre extends RedstoneOre{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Glowstone.php b/src/pocketmine/block/Glowstone.php index 6f6d545c1..caf15beb9 100644 --- a/src/pocketmine/block/Glowstone.php +++ b/src/pocketmine/block/Glowstone.php @@ -55,4 +55,4 @@ class Glowstone extends Transparent{ ItemFactory::get(Item::GLOWSTONE_DUST, 0, mt_rand(2, 4)) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Gold.php b/src/pocketmine/block/Gold.php index bca943f2f..d9b745795 100644 --- a/src/pocketmine/block/Gold.php +++ b/src/pocketmine/block/Gold.php @@ -48,4 +48,4 @@ class Gold extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_IRON; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/GoldOre.php b/src/pocketmine/block/GoldOre.php index 720ab2bdd..a776e01fd 100644 --- a/src/pocketmine/block/GoldOre.php +++ b/src/pocketmine/block/GoldOre.php @@ -48,4 +48,4 @@ class GoldOre extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_IRON; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/GrassPath.php b/src/pocketmine/block/GrassPath.php index 17b0256cd..ffa14d908 100644 --- a/src/pocketmine/block/GrassPath.php +++ b/src/pocketmine/block/GrassPath.php @@ -74,4 +74,4 @@ class GrassPath extends Transparent{ ItemFactory::get(Item::DIRT) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Gravel.php b/src/pocketmine/block/Gravel.php index 896840be6..f4e0b72b1 100644 --- a/src/pocketmine/block/Gravel.php +++ b/src/pocketmine/block/Gravel.php @@ -56,4 +56,4 @@ class Gravel extends Fallable{ return parent::getDropsForCompatibleTool($item); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/HardenedClay.php b/src/pocketmine/block/HardenedClay.php index c16b91ac8..3a3e6896e 100644 --- a/src/pocketmine/block/HardenedClay.php +++ b/src/pocketmine/block/HardenedClay.php @@ -48,4 +48,4 @@ class HardenedClay extends Solid{ public function getHardness() : float{ return 1.25; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/HayBale.php b/src/pocketmine/block/HayBale.php index 816c50c28..c5a91c2eb 100644 --- a/src/pocketmine/block/HayBale.php +++ b/src/pocketmine/block/HayBale.php @@ -54,4 +54,4 @@ class HayBale extends Solid{ public function getVariantBitmask() : int{ return 0x03; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Ice.php b/src/pocketmine/block/Ice.php index 2b69f47cd..549517b70 100644 --- a/src/pocketmine/block/Ice.php +++ b/src/pocketmine/block/Ice.php @@ -77,4 +77,4 @@ class Ice extends Transparent{ public function getDropsForCompatibleTool(Item $item) : array{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Iron.php b/src/pocketmine/block/Iron.php index 180e63510..3f0a0786f 100644 --- a/src/pocketmine/block/Iron.php +++ b/src/pocketmine/block/Iron.php @@ -48,4 +48,4 @@ class Iron extends Solid{ public function getHardness() : float{ return 5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/IronDoor.php b/src/pocketmine/block/IronDoor.php index fd0bc96a7..2d263faed 100644 --- a/src/pocketmine/block/IronDoor.php +++ b/src/pocketmine/block/IronDoor.php @@ -51,4 +51,4 @@ class IronDoor extends Door{ public function getHardness() : float{ return 5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/IronOre.php b/src/pocketmine/block/IronOre.php index 6a7d37ccd..003e8384d 100644 --- a/src/pocketmine/block/IronOre.php +++ b/src/pocketmine/block/IronOre.php @@ -48,4 +48,4 @@ class IronOre extends Solid{ public function getHardness() : float{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/ItemFrame.php b/src/pocketmine/block/ItemFrame.php index c222b7cb6..a650beda9 100644 --- a/src/pocketmine/block/ItemFrame.php +++ b/src/pocketmine/block/ItemFrame.php @@ -112,4 +112,4 @@ class ItemFrame extends Flowable{ return $drops; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Ladder.php b/src/pocketmine/block/Ladder.php index 384e845ed..86107b158 100644 --- a/src/pocketmine/block/Ladder.php +++ b/src/pocketmine/block/Ladder.php @@ -127,4 +127,4 @@ class Ladder extends Transparent{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Lapis.php b/src/pocketmine/block/Lapis.php index da3092c43..664a4a4db 100644 --- a/src/pocketmine/block/Lapis.php +++ b/src/pocketmine/block/Lapis.php @@ -48,4 +48,4 @@ class Lapis extends Solid{ public function getHardness() : float{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/LapisOre.php b/src/pocketmine/block/LapisOre.php index 91d3cd69a..194c213ea 100644 --- a/src/pocketmine/block/LapisOre.php +++ b/src/pocketmine/block/LapisOre.php @@ -57,4 +57,4 @@ class LapisOre extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Leaves.php b/src/pocketmine/block/Leaves.php index 8f6721dcc..0bfb72c59 100644 --- a/src/pocketmine/block/Leaves.php +++ b/src/pocketmine/block/Leaves.php @@ -195,4 +195,4 @@ class Leaves extends Transparent{ public function canDropApples() : bool{ return $this->meta === self::OAK; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Leaves2.php b/src/pocketmine/block/Leaves2.php index 791a7485e..bd18ec7c2 100644 --- a/src/pocketmine/block/Leaves2.php +++ b/src/pocketmine/block/Leaves2.php @@ -46,4 +46,4 @@ class Leaves2 extends Leaves{ public function canDropApples() : bool{ return $this->meta === self::DARK_OAK; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Liquid.php b/src/pocketmine/block/Liquid.php index 028201f0d..d0b4c703d 100644 --- a/src/pocketmine/block/Liquid.php +++ b/src/pocketmine/block/Liquid.php @@ -438,4 +438,4 @@ abstract class Liquid extends Transparent{ protected function canFlowInto(Block $block) : bool{ return $block->canBeFlowedInto() and !($block instanceof Liquid and $block->meta === 0); //TODO: I think this should only be liquids of the same type } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/LitPumpkin.php b/src/pocketmine/block/LitPumpkin.php index 2ecfa33e8..5f9abf17e 100644 --- a/src/pocketmine/block/LitPumpkin.php +++ b/src/pocketmine/block/LitPumpkin.php @@ -34,4 +34,4 @@ class LitPumpkin extends Pumpkin{ public function getName() : string{ return "Jack o'Lantern"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Magma.php b/src/pocketmine/block/Magma.php index e5209e72e..a99bd04c7 100644 --- a/src/pocketmine/block/Magma.php +++ b/src/pocketmine/block/Magma.php @@ -66,4 +66,4 @@ class Magma extends Solid{ $entity->attack($ev); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Melon.php b/src/pocketmine/block/Melon.php index 7dabf89df..e5023d392 100644 --- a/src/pocketmine/block/Melon.php +++ b/src/pocketmine/block/Melon.php @@ -51,4 +51,4 @@ class Melon extends Transparent{ ItemFactory::get(Item::MELON_SLICE, 0, mt_rand(3, 7)) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/MelonStem.php b/src/pocketmine/block/MelonStem.php index 4669ca393..7d49cbdd9 100644 --- a/src/pocketmine/block/MelonStem.php +++ b/src/pocketmine/block/MelonStem.php @@ -92,4 +92,4 @@ class MelonStem extends Crops{ public function getPickedItem() : Item{ return ItemFactory::get(Item::MELON_SEEDS); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/MonsterSpawner.php b/src/pocketmine/block/MonsterSpawner.php index b689dfd36..af7038f8e 100644 --- a/src/pocketmine/block/MonsterSpawner.php +++ b/src/pocketmine/block/MonsterSpawner.php @@ -53,4 +53,4 @@ class MonsterSpawner extends Transparent{ public function getDropsForCompatibleTool(Item $item) : array{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/MossyCobblestone.php b/src/pocketmine/block/MossyCobblestone.php index d0a1c04d7..c9b83b6c8 100644 --- a/src/pocketmine/block/MossyCobblestone.php +++ b/src/pocketmine/block/MossyCobblestone.php @@ -31,4 +31,4 @@ class MossyCobblestone extends Cobblestone{ public function getName() : string{ return "Moss Stone"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/NetherBrick.php b/src/pocketmine/block/NetherBrick.php index b0bd25e11..e1f074af4 100644 --- a/src/pocketmine/block/NetherBrick.php +++ b/src/pocketmine/block/NetherBrick.php @@ -38,4 +38,4 @@ class NetherBrick extends Solid{ public function getHardness() : float{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/NetherBrickStairs.php b/src/pocketmine/block/NetherBrickStairs.php index e4b905cf4..8a2771a9c 100644 --- a/src/pocketmine/block/NetherBrickStairs.php +++ b/src/pocketmine/block/NetherBrickStairs.php @@ -49,4 +49,4 @@ class NetherBrickStairs extends Stair{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/NetherQuartzOre.php b/src/pocketmine/block/NetherQuartzOre.php index 24faace38..3f547dbd1 100644 --- a/src/pocketmine/block/NetherQuartzOre.php +++ b/src/pocketmine/block/NetherQuartzOre.php @@ -57,4 +57,4 @@ class NetherQuartzOre extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/NetherReactor.php b/src/pocketmine/block/NetherReactor.php index faf9b99a4..b0a927884 100644 --- a/src/pocketmine/block/NetherReactor.php +++ b/src/pocketmine/block/NetherReactor.php @@ -62,4 +62,4 @@ class NetherReactor extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/NetherWartBlock.php b/src/pocketmine/block/NetherWartBlock.php index f01204873..2758f4ff4 100644 --- a/src/pocketmine/block/NetherWartBlock.php +++ b/src/pocketmine/block/NetherWartBlock.php @@ -38,4 +38,4 @@ class NetherWartBlock extends Solid{ public function getHardness() : float{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/NetherWartPlant.php b/src/pocketmine/block/NetherWartPlant.php index 2a9f9a974..7ca4b236f 100644 --- a/src/pocketmine/block/NetherWartPlant.php +++ b/src/pocketmine/block/NetherWartPlant.php @@ -90,4 +90,4 @@ class NetherWartPlant extends Flowable{ ItemFactory::get($this->getItemId(), 0, ($this->getDamage() === 3 ? mt_rand(2, 4) : 1)) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Netherrack.php b/src/pocketmine/block/Netherrack.php index a30d5cba4..487f5ecea 100644 --- a/src/pocketmine/block/Netherrack.php +++ b/src/pocketmine/block/Netherrack.php @@ -48,4 +48,4 @@ class Netherrack extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Obsidian.php b/src/pocketmine/block/Obsidian.php index 4cf98cd76..1363b490f 100644 --- a/src/pocketmine/block/Obsidian.php +++ b/src/pocketmine/block/Obsidian.php @@ -52,4 +52,4 @@ class Obsidian extends Solid{ public function getBlastResistance() : float{ return 6000; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/PackedIce.php b/src/pocketmine/block/PackedIce.php index 378868ef9..a9748adeb 100644 --- a/src/pocketmine/block/PackedIce.php +++ b/src/pocketmine/block/PackedIce.php @@ -47,4 +47,4 @@ class PackedIce extends Solid{ return BlockToolType::TYPE_PICKAXE; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Podzol.php b/src/pocketmine/block/Podzol.php index b30c5cc8e..1ad8406cf 100644 --- a/src/pocketmine/block/Podzol.php +++ b/src/pocketmine/block/Podzol.php @@ -42,4 +42,4 @@ class Podzol extends Solid{ public function getHardness() : float{ return 2.5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Potato.php b/src/pocketmine/block/Potato.php index f4c2ef33b..6df545d30 100644 --- a/src/pocketmine/block/Potato.php +++ b/src/pocketmine/block/Potato.php @@ -47,4 +47,4 @@ class Potato extends Crops{ public function getPickedItem() : Item{ return ItemFactory::get(Item::POTATO); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Prismarine.php b/src/pocketmine/block/Prismarine.php index 0e4b64666..61de1b3b3 100644 --- a/src/pocketmine/block/Prismarine.php +++ b/src/pocketmine/block/Prismarine.php @@ -61,4 +61,4 @@ class Prismarine extends Solid{ public function getVariantBitmask() : int{ return 0x03; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Pumpkin.php b/src/pocketmine/block/Pumpkin.php index a32896878..811dd06e5 100644 --- a/src/pocketmine/block/Pumpkin.php +++ b/src/pocketmine/block/Pumpkin.php @@ -59,4 +59,4 @@ class Pumpkin extends Solid{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/PumpkinStem.php b/src/pocketmine/block/PumpkinStem.php index 5c00c8f13..31afdf0c3 100644 --- a/src/pocketmine/block/PumpkinStem.php +++ b/src/pocketmine/block/PumpkinStem.php @@ -92,4 +92,4 @@ class PumpkinStem extends Crops{ public function getPickedItem() : Item{ return ItemFactory::get(Item::PUMPKIN_SEEDS); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Purpur.php b/src/pocketmine/block/Purpur.php index 3aa1c1505..30854b62b 100644 --- a/src/pocketmine/block/Purpur.php +++ b/src/pocketmine/block/Purpur.php @@ -44,4 +44,4 @@ class Purpur extends Quartz{ public function getBlastResistance() : float{ return 30; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/PurpurStairs.php b/src/pocketmine/block/PurpurStairs.php index eba61b0fa..39b3ace26 100644 --- a/src/pocketmine/block/PurpurStairs.php +++ b/src/pocketmine/block/PurpurStairs.php @@ -52,4 +52,4 @@ class PurpurStairs extends Stair{ public function getBlastResistance() : float{ return 30; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Quartz.php b/src/pocketmine/block/Quartz.php index fbb98352c..e0813022c 100644 --- a/src/pocketmine/block/Quartz.php +++ b/src/pocketmine/block/Quartz.php @@ -72,4 +72,4 @@ class Quartz extends Solid{ public function getVariantBitmask() : int{ return 0x03; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/QuartzStairs.php b/src/pocketmine/block/QuartzStairs.php index 75a60dd7d..828d049a1 100644 --- a/src/pocketmine/block/QuartzStairs.php +++ b/src/pocketmine/block/QuartzStairs.php @@ -49,4 +49,4 @@ class QuartzStairs extends Stair{ return "Quartz Stairs"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/RedMushroom.php b/src/pocketmine/block/RedMushroom.php index f5481b0d2..800cad919 100644 --- a/src/pocketmine/block/RedMushroom.php +++ b/src/pocketmine/block/RedMushroom.php @@ -66,4 +66,4 @@ class RedMushroom extends Flowable{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/RedMushroomBlock.php b/src/pocketmine/block/RedMushroomBlock.php index e1e092879..c3ec4cd45 100644 --- a/src/pocketmine/block/RedMushroomBlock.php +++ b/src/pocketmine/block/RedMushroomBlock.php @@ -51,4 +51,4 @@ class RedMushroomBlock extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/RedSandstone.php b/src/pocketmine/block/RedSandstone.php index 906ec9753..8c2372ccc 100644 --- a/src/pocketmine/block/RedSandstone.php +++ b/src/pocketmine/block/RedSandstone.php @@ -34,4 +34,4 @@ class RedSandstone extends Sandstone{ ]; return $names[$this->getVariant()] ?? "Unknown"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/RedSandstoneStairs.php b/src/pocketmine/block/RedSandstoneStairs.php index 6fd572831..99e8018df 100644 --- a/src/pocketmine/block/RedSandstoneStairs.php +++ b/src/pocketmine/block/RedSandstoneStairs.php @@ -31,4 +31,4 @@ class RedSandstoneStairs extends SandstoneStairs{ return "Red " . parent::getName(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Redstone.php b/src/pocketmine/block/Redstone.php index d181b9026..cdeb98fe7 100644 --- a/src/pocketmine/block/Redstone.php +++ b/src/pocketmine/block/Redstone.php @@ -48,4 +48,4 @@ class Redstone extends Solid{ public function getName() : string{ return "Redstone Block"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/RedstoneOre.php b/src/pocketmine/block/RedstoneOre.php index 3a6a3f64c..d1ed074a0 100644 --- a/src/pocketmine/block/RedstoneOre.php +++ b/src/pocketmine/block/RedstoneOre.php @@ -73,4 +73,4 @@ class RedstoneOre extends Solid{ ItemFactory::get(Item::REDSTONE_DUST, 0, mt_rand(4, 5)) ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Sand.php b/src/pocketmine/block/Sand.php index a3b94bc8b..7d9436e9d 100644 --- a/src/pocketmine/block/Sand.php +++ b/src/pocketmine/block/Sand.php @@ -47,4 +47,4 @@ class Sand extends Fallable{ return "Sand"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Sandstone.php b/src/pocketmine/block/Sandstone.php index 735d542a5..5c941c319 100644 --- a/src/pocketmine/block/Sandstone.php +++ b/src/pocketmine/block/Sandstone.php @@ -61,4 +61,4 @@ class Sandstone extends Solid{ public function getVariantBitmask() : int{ return 0x03; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/SandstoneStairs.php b/src/pocketmine/block/SandstoneStairs.php index a33e9cabe..3077ecec5 100644 --- a/src/pocketmine/block/SandstoneStairs.php +++ b/src/pocketmine/block/SandstoneStairs.php @@ -49,4 +49,4 @@ class SandstoneStairs extends Stair{ return "Sandstone Stairs"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Sapling.php b/src/pocketmine/block/Sapling.php index df422132c..9f0f60c6d 100644 --- a/src/pocketmine/block/Sapling.php +++ b/src/pocketmine/block/Sapling.php @@ -116,4 +116,4 @@ class Sapling extends Flowable{ public function getFuelTime() : int{ return 100; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/SignPost.php b/src/pocketmine/block/SignPost.php index 8a3700bd4..c21b244dc 100644 --- a/src/pocketmine/block/SignPost.php +++ b/src/pocketmine/block/SignPost.php @@ -96,4 +96,4 @@ class SignPost extends Transparent{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Skull.php b/src/pocketmine/block/Skull.php index 8c50f5e6f..34f43c35c 100644 --- a/src/pocketmine/block/Skull.php +++ b/src/pocketmine/block/Skull.php @@ -81,4 +81,4 @@ class Skull extends Flowable{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Slab.php b/src/pocketmine/block/Slab.php index 7046cf121..8444479b6 100644 --- a/src/pocketmine/block/Slab.php +++ b/src/pocketmine/block/Slab.php @@ -126,4 +126,4 @@ abstract class Slab extends Transparent{ ); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Snow.php b/src/pocketmine/block/Snow.php index fc08dfdde..c5e4a51c7 100644 --- a/src/pocketmine/block/Snow.php +++ b/src/pocketmine/block/Snow.php @@ -57,4 +57,4 @@ class Snow extends Solid{ ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/SnowLayer.php b/src/pocketmine/block/SnowLayer.php index 2daa91a73..af6a00ce3 100644 --- a/src/pocketmine/block/SnowLayer.php +++ b/src/pocketmine/block/SnowLayer.php @@ -96,4 +96,4 @@ class SnowLayer extends Flowable{ ItemFactory::get(Item::SNOWBALL) //TODO: check layer count ]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Solid.php b/src/pocketmine/block/Solid.php index 9625104ca..5dff14083 100644 --- a/src/pocketmine/block/Solid.php +++ b/src/pocketmine/block/Solid.php @@ -28,4 +28,4 @@ abstract class Solid extends Block{ public function isSolid() : bool{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/SoulSand.php b/src/pocketmine/block/SoulSand.php index e7bc0e88d..73a2dcad4 100644 --- a/src/pocketmine/block/SoulSand.php +++ b/src/pocketmine/block/SoulSand.php @@ -57,4 +57,4 @@ class SoulSand extends Solid{ ); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Sponge.php b/src/pocketmine/block/Sponge.php index 6a12cddc9..bf609d941 100644 --- a/src/pocketmine/block/Sponge.php +++ b/src/pocketmine/block/Sponge.php @@ -40,4 +40,4 @@ class Sponge extends Solid{ return "Sponge"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StainedClay.php b/src/pocketmine/block/StainedClay.php index 9620005cf..3807dab66 100644 --- a/src/pocketmine/block/StainedClay.php +++ b/src/pocketmine/block/StainedClay.php @@ -32,4 +32,4 @@ class StainedClay extends HardenedClay{ public function getName() : string{ return ColorBlockMetaHelper::getColorFromMeta($this->meta) . " Stained Clay"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StandingBanner.php b/src/pocketmine/block/StandingBanner.php index 9efad4f51..4b9d6b01e 100644 --- a/src/pocketmine/block/StandingBanner.php +++ b/src/pocketmine/block/StandingBanner.php @@ -105,4 +105,4 @@ class StandingBanner extends Transparent{ return [$drop]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StillLava.php b/src/pocketmine/block/StillLava.php index 16166e14c..7fd3b6e8c 100644 --- a/src/pocketmine/block/StillLava.php +++ b/src/pocketmine/block/StillLava.php @@ -31,4 +31,4 @@ class StillLava extends Lava{ return "Still Lava"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StillWater.php b/src/pocketmine/block/StillWater.php index 7e352c4bd..3dc4e6a15 100644 --- a/src/pocketmine/block/StillWater.php +++ b/src/pocketmine/block/StillWater.php @@ -30,4 +30,4 @@ class StillWater extends Water{ public function getName() : string{ return "Still Water"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Stone.php b/src/pocketmine/block/Stone.php index 7143c6d73..cb39c0839 100644 --- a/src/pocketmine/block/Stone.php +++ b/src/pocketmine/block/Stone.php @@ -77,4 +77,4 @@ class Stone extends Solid{ return parent::getDropsForCompatibleTool($item); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StoneBrickStairs.php b/src/pocketmine/block/StoneBrickStairs.php index 019bf73e3..53f3f2122 100644 --- a/src/pocketmine/block/StoneBrickStairs.php +++ b/src/pocketmine/block/StoneBrickStairs.php @@ -49,4 +49,4 @@ class StoneBrickStairs extends Stair{ return "Stone Brick Stairs"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StoneBricks.php b/src/pocketmine/block/StoneBricks.php index 848399c86..3b17797ba 100644 --- a/src/pocketmine/block/StoneBricks.php +++ b/src/pocketmine/block/StoneBricks.php @@ -58,4 +58,4 @@ class StoneBricks extends Solid{ ]; return $names[$this->getVariant()] ?? "Unknown"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StoneSlab.php b/src/pocketmine/block/StoneSlab.php index 002a7ae3b..19d3dbe5c 100644 --- a/src/pocketmine/block/StoneSlab.php +++ b/src/pocketmine/block/StoneSlab.php @@ -66,4 +66,4 @@ class StoneSlab extends Slab{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/StoneSlab2.php b/src/pocketmine/block/StoneSlab2.php index af07993a8..1f3a9c44e 100644 --- a/src/pocketmine/block/StoneSlab2.php +++ b/src/pocketmine/block/StoneSlab2.php @@ -41,4 +41,4 @@ class StoneSlab2 extends StoneSlab{ return (($this->meta & 0x08) > 0 ? "Upper " : "") . ($names[$this->getVariant()] ?? "") . " Slab"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Stonecutter.php b/src/pocketmine/block/Stonecutter.php index f4adde3a3..e8a6a40d4 100644 --- a/src/pocketmine/block/Stonecutter.php +++ b/src/pocketmine/block/Stonecutter.php @@ -44,4 +44,4 @@ class Stonecutter extends Solid{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Sugarcane.php b/src/pocketmine/block/Sugarcane.php index f61179342..5a966cbba 100644 --- a/src/pocketmine/block/Sugarcane.php +++ b/src/pocketmine/block/Sugarcane.php @@ -129,4 +129,4 @@ class Sugarcane extends Flowable{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/TNT.php b/src/pocketmine/block/TNT.php index 66ef0d563..818ebe4f1 100644 --- a/src/pocketmine/block/TNT.php +++ b/src/pocketmine/block/TNT.php @@ -68,4 +68,4 @@ class TNT extends Solid{ $tnt->spawnToAll(); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Thin.php b/src/pocketmine/block/Thin.php index 821da8700..108e8728d 100644 --- a/src/pocketmine/block/Thin.php +++ b/src/pocketmine/block/Thin.php @@ -107,4 +107,4 @@ abstract class Thin extends Transparent{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Torch.php b/src/pocketmine/block/Torch.php index b2b25f247..8a094e941 100644 --- a/src/pocketmine/block/Torch.php +++ b/src/pocketmine/block/Torch.php @@ -96,4 +96,4 @@ class Torch extends Flowable{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Transparent.php b/src/pocketmine/block/Transparent.php index 3e99d4e68..8654cc400 100644 --- a/src/pocketmine/block/Transparent.php +++ b/src/pocketmine/block/Transparent.php @@ -33,4 +33,4 @@ abstract class Transparent extends Block{ public function getLightFilter() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/UnknownBlock.php b/src/pocketmine/block/UnknownBlock.php index b88c379fe..e12420710 100644 --- a/src/pocketmine/block/UnknownBlock.php +++ b/src/pocketmine/block/UnknownBlock.php @@ -34,4 +34,4 @@ class UnknownBlock extends Transparent{ public function getDrops(Item $item) : array{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Vine.php b/src/pocketmine/block/Vine.php index 3281206e1..8440d6a59 100644 --- a/src/pocketmine/block/Vine.php +++ b/src/pocketmine/block/Vine.php @@ -210,4 +210,4 @@ class Vine extends Flowable{ public function getToolType() : int{ return BlockToolType::TYPE_AXE; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WallBanner.php b/src/pocketmine/block/WallBanner.php index 90c2d69d1..03365a441 100644 --- a/src/pocketmine/block/WallBanner.php +++ b/src/pocketmine/block/WallBanner.php @@ -42,4 +42,4 @@ class WallBanner extends StandingBanner{ } return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WallSign.php b/src/pocketmine/block/WallSign.php index 28037d2f7..cf500d6ff 100644 --- a/src/pocketmine/block/WallSign.php +++ b/src/pocketmine/block/WallSign.php @@ -42,4 +42,4 @@ class WallSign extends SignPost{ } return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WaterLily.php b/src/pocketmine/block/WaterLily.php index fe4f8a751..42050b99a 100644 --- a/src/pocketmine/block/WaterLily.php +++ b/src/pocketmine/block/WaterLily.php @@ -83,4 +83,4 @@ class WaterLily extends Flowable{ public function getVariantBitmask() : int{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Wheat.php b/src/pocketmine/block/Wheat.php index a5956a8b9..61ac91e11 100644 --- a/src/pocketmine/block/Wheat.php +++ b/src/pocketmine/block/Wheat.php @@ -54,4 +54,4 @@ class Wheat extends Crops{ public function getPickedItem() : Item{ return ItemFactory::get(Item::WHEAT_SEEDS); } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Wood.php b/src/pocketmine/block/Wood.php index ee285badc..4460a7924 100644 --- a/src/pocketmine/block/Wood.php +++ b/src/pocketmine/block/Wood.php @@ -70,4 +70,4 @@ class Wood extends Solid{ public function getFuelTime() : int{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WoodenDoor.php b/src/pocketmine/block/WoodenDoor.php index 3e55b6e5d..2ef5155c3 100644 --- a/src/pocketmine/block/WoodenDoor.php +++ b/src/pocketmine/block/WoodenDoor.php @@ -32,4 +32,4 @@ class WoodenDoor extends Door{ public function getToolType() : int{ return BlockToolType::TYPE_AXE; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WoodenFence.php b/src/pocketmine/block/WoodenFence.php index 09e0efd38..de99bdc1a 100644 --- a/src/pocketmine/block/WoodenFence.php +++ b/src/pocketmine/block/WoodenFence.php @@ -56,4 +56,4 @@ class WoodenFence extends Fence{ public function getFuelTime() : int{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WoodenSlab.php b/src/pocketmine/block/WoodenSlab.php index b9e2d3adc..a938b67f0 100644 --- a/src/pocketmine/block/WoodenSlab.php +++ b/src/pocketmine/block/WoodenSlab.php @@ -54,4 +54,4 @@ class WoodenSlab extends Slab{ public function getFuelTime() : int{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/WoodenStairs.php b/src/pocketmine/block/WoodenStairs.php index 0b28a7ba0..a8c5211c2 100644 --- a/src/pocketmine/block/WoodenStairs.php +++ b/src/pocketmine/block/WoodenStairs.php @@ -36,4 +36,4 @@ class WoodenStairs extends Stair{ public function getToolType() : int{ return BlockToolType::TYPE_AXE; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/Wool.php b/src/pocketmine/block/Wool.php index a58d156d7..8d4a18e97 100644 --- a/src/pocketmine/block/Wool.php +++ b/src/pocketmine/block/Wool.php @@ -54,4 +54,4 @@ class Wool extends Solid{ return $time; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/utils/ColorBlockMetaHelper.php b/src/pocketmine/block/utils/ColorBlockMetaHelper.php index 246c2e7cd..6fe8bf15e 100644 --- a/src/pocketmine/block/utils/ColorBlockMetaHelper.php +++ b/src/pocketmine/block/utils/ColorBlockMetaHelper.php @@ -47,4 +47,4 @@ class ColorBlockMetaHelper{ return $names[$meta] ?? "Unknown"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/block/utils/PillarRotationHelper.php b/src/pocketmine/block/utils/PillarRotationHelper.php index 5a4d7612d..8a633c11f 100644 --- a/src/pocketmine/block/utils/PillarRotationHelper.php +++ b/src/pocketmine/block/utils/PillarRotationHelper.php @@ -36,4 +36,4 @@ class PillarRotationHelper{ return ($meta & 0x03) | $faces[$face & ~0x01]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/CommandExecutor.php b/src/pocketmine/command/CommandExecutor.php index 2dea06748..fcc75f15f 100644 --- a/src/pocketmine/command/CommandExecutor.php +++ b/src/pocketmine/command/CommandExecutor.php @@ -36,4 +36,4 @@ interface CommandExecutor{ */ public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool; -} \ No newline at end of file +} diff --git a/src/pocketmine/command/CommandMap.php b/src/pocketmine/command/CommandMap.php index b48ecb815..5cccd909f 100644 --- a/src/pocketmine/command/CommandMap.php +++ b/src/pocketmine/command/CommandMap.php @@ -62,4 +62,4 @@ interface CommandMap{ public function getCommand(string $name); -} \ No newline at end of file +} diff --git a/src/pocketmine/command/CommandSender.php b/src/pocketmine/command/CommandSender.php index e14ba3f6c..309f56c5c 100644 --- a/src/pocketmine/command/CommandSender.php +++ b/src/pocketmine/command/CommandSender.php @@ -57,4 +57,4 @@ interface CommandSender extends Permissible{ * @param int|null $height */ public function setScreenLineHeight(int $height = null); -} \ No newline at end of file +} diff --git a/src/pocketmine/command/ConsoleCommandSender.php b/src/pocketmine/command/ConsoleCommandSender.php index db369403b..3ea365b85 100644 --- a/src/pocketmine/command/ConsoleCommandSender.php +++ b/src/pocketmine/command/ConsoleCommandSender.php @@ -153,4 +153,4 @@ class ConsoleCommandSender implements CommandSender{ $this->lineHeight = $height; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/FormattedCommandAlias.php b/src/pocketmine/command/FormattedCommandAlias.php index 30fbfc320..7f70cb535 100644 --- a/src/pocketmine/command/FormattedCommandAlias.php +++ b/src/pocketmine/command/FormattedCommandAlias.php @@ -156,4 +156,4 @@ class FormattedCommandAlias extends Command{ return $i >= $j and $i <= $k; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/RemoteConsoleCommandSender.php b/src/pocketmine/command/RemoteConsoleCommandSender.php index faf5c6999..c02e136a8 100644 --- a/src/pocketmine/command/RemoteConsoleCommandSender.php +++ b/src/pocketmine/command/RemoteConsoleCommandSender.php @@ -49,4 +49,4 @@ class RemoteConsoleCommandSender extends ConsoleCommandSender{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/BanCommand.php b/src/pocketmine/command/defaults/BanCommand.php index 6eb24ad1d..0bd37aa7c 100644 --- a/src/pocketmine/command/defaults/BanCommand.php +++ b/src/pocketmine/command/defaults/BanCommand.php @@ -62,4 +62,4 @@ class BanCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/BanIpCommand.php b/src/pocketmine/command/defaults/BanIpCommand.php index add40c482..a0e694d01 100644 --- a/src/pocketmine/command/defaults/BanIpCommand.php +++ b/src/pocketmine/command/defaults/BanIpCommand.php @@ -82,4 +82,4 @@ class BanIpCommand extends VanillaCommand{ $sender->getServer()->getNetwork()->blockAddress($ip, -1); } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/BanListCommand.php b/src/pocketmine/command/defaults/BanListCommand.php index 064c777f7..b02b0e1fc 100644 --- a/src/pocketmine/command/defaults/BanListCommand.php +++ b/src/pocketmine/command/defaults/BanListCommand.php @@ -73,4 +73,4 @@ class BanListCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/DefaultGamemodeCommand.php b/src/pocketmine/command/defaults/DefaultGamemodeCommand.php index 3bd0fd617..47329b3c3 100644 --- a/src/pocketmine/command/defaults/DefaultGamemodeCommand.php +++ b/src/pocketmine/command/defaults/DefaultGamemodeCommand.php @@ -59,4 +59,4 @@ class DefaultGamemodeCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/DeopCommand.php b/src/pocketmine/command/defaults/DeopCommand.php index c8523921f..c611325b3 100644 --- a/src/pocketmine/command/defaults/DeopCommand.php +++ b/src/pocketmine/command/defaults/DeopCommand.php @@ -61,4 +61,4 @@ class DeopCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/DifficultyCommand.php b/src/pocketmine/command/defaults/DifficultyCommand.php index fb484ec12..ff91af5e1 100644 --- a/src/pocketmine/command/defaults/DifficultyCommand.php +++ b/src/pocketmine/command/defaults/DifficultyCommand.php @@ -70,4 +70,4 @@ class DifficultyCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/EffectCommand.php b/src/pocketmine/command/defaults/EffectCommand.php index d4cc8a363..e4cbb7e8e 100644 --- a/src/pocketmine/command/defaults/EffectCommand.php +++ b/src/pocketmine/command/defaults/EffectCommand.php @@ -124,4 +124,4 @@ class EffectCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/EnchantCommand.php b/src/pocketmine/command/defaults/EnchantCommand.php index e82b3612d..16db27812 100644 --- a/src/pocketmine/command/defaults/EnchantCommand.php +++ b/src/pocketmine/command/defaults/EnchantCommand.php @@ -83,4 +83,4 @@ class EnchantCommand extends VanillaCommand{ self::broadcastCommandMessage($sender, new TranslationContainer("%commands.enchant.success", [$player->getName()])); return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/GamemodeCommand.php b/src/pocketmine/command/defaults/GamemodeCommand.php index 7d936d7db..8b350f2b4 100644 --- a/src/pocketmine/command/defaults/GamemodeCommand.php +++ b/src/pocketmine/command/defaults/GamemodeCommand.php @@ -85,4 +85,4 @@ class GamemodeCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/GiveCommand.php b/src/pocketmine/command/defaults/GiveCommand.php index 0124e8767..94c19a8f7 100644 --- a/src/pocketmine/command/defaults/GiveCommand.php +++ b/src/pocketmine/command/defaults/GiveCommand.php @@ -101,4 +101,4 @@ class GiveCommand extends VanillaCommand{ ])); return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/KillCommand.php b/src/pocketmine/command/defaults/KillCommand.php index 74ee5ca60..f661879e1 100644 --- a/src/pocketmine/command/defaults/KillCommand.php +++ b/src/pocketmine/command/defaults/KillCommand.php @@ -101,4 +101,4 @@ class KillCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/ListCommand.php b/src/pocketmine/command/defaults/ListCommand.php index 56526eb5b..fce4284f0 100644 --- a/src/pocketmine/command/defaults/ListCommand.php +++ b/src/pocketmine/command/defaults/ListCommand.php @@ -54,4 +54,4 @@ class ListCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/MeCommand.php b/src/pocketmine/command/defaults/MeCommand.php index 16fbc5ec7..ed3ed0fc1 100644 --- a/src/pocketmine/command/defaults/MeCommand.php +++ b/src/pocketmine/command/defaults/MeCommand.php @@ -53,4 +53,4 @@ class MeCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/OpCommand.php b/src/pocketmine/command/defaults/OpCommand.php index bec3ba92f..1819335a4 100644 --- a/src/pocketmine/command/defaults/OpCommand.php +++ b/src/pocketmine/command/defaults/OpCommand.php @@ -60,4 +60,4 @@ class OpCommand extends VanillaCommand{ $player->setOp(true); return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/PardonIpCommand.php b/src/pocketmine/command/defaults/PardonIpCommand.php index 18e9c6679..8e30fb4fd 100644 --- a/src/pocketmine/command/defaults/PardonIpCommand.php +++ b/src/pocketmine/command/defaults/PardonIpCommand.php @@ -58,4 +58,4 @@ class PardonIpCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/ParticleCommand.php b/src/pocketmine/command/defaults/ParticleCommand.php index dba99fc59..3a19705a0 100644 --- a/src/pocketmine/command/defaults/ParticleCommand.php +++ b/src/pocketmine/command/defaults/ParticleCommand.php @@ -222,4 +222,4 @@ class ParticleCommand extends VanillaCommand{ return null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/SaveCommand.php b/src/pocketmine/command/defaults/SaveCommand.php index 81e6d5ba1..296c15e52 100644 --- a/src/pocketmine/command/defaults/SaveCommand.php +++ b/src/pocketmine/command/defaults/SaveCommand.php @@ -57,4 +57,4 @@ class SaveCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/SaveOffCommand.php b/src/pocketmine/command/defaults/SaveOffCommand.php index 7917fa7e2..c7e11b6f4 100644 --- a/src/pocketmine/command/defaults/SaveOffCommand.php +++ b/src/pocketmine/command/defaults/SaveOffCommand.php @@ -49,4 +49,4 @@ class SaveOffCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/SaveOnCommand.php b/src/pocketmine/command/defaults/SaveOnCommand.php index 044c41a84..702863b23 100644 --- a/src/pocketmine/command/defaults/SaveOnCommand.php +++ b/src/pocketmine/command/defaults/SaveOnCommand.php @@ -49,4 +49,4 @@ class SaveOnCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/SayCommand.php b/src/pocketmine/command/defaults/SayCommand.php index 9055bc5e1..2870d5573 100644 --- a/src/pocketmine/command/defaults/SayCommand.php +++ b/src/pocketmine/command/defaults/SayCommand.php @@ -53,4 +53,4 @@ class SayCommand extends VanillaCommand{ $sender->getServer()->broadcastMessage(new TranslationContainer(TextFormat::LIGHT_PURPLE . "%chat.type.announcement", [$sender instanceof Player ? $sender->getDisplayName() : ($sender instanceof ConsoleCommandSender ? "Server" : $sender->getName()), TextFormat::LIGHT_PURPLE . implode(" ", $args)])); return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/SeedCommand.php b/src/pocketmine/command/defaults/SeedCommand.php index 34a4e4c0d..f1bbec639 100644 --- a/src/pocketmine/command/defaults/SeedCommand.php +++ b/src/pocketmine/command/defaults/SeedCommand.php @@ -52,4 +52,4 @@ class SeedCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/StopCommand.php b/src/pocketmine/command/defaults/StopCommand.php index 36126307e..55775b33d 100644 --- a/src/pocketmine/command/defaults/StopCommand.php +++ b/src/pocketmine/command/defaults/StopCommand.php @@ -49,4 +49,4 @@ class StopCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/TimeCommand.php b/src/pocketmine/command/defaults/TimeCommand.php index 3d5b17137..f64b6dedd 100644 --- a/src/pocketmine/command/defaults/TimeCommand.php +++ b/src/pocketmine/command/defaults/TimeCommand.php @@ -134,4 +134,4 @@ class TimeCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/TransferServerCommand.php b/src/pocketmine/command/defaults/TransferServerCommand.php index 86502b3a0..614dcbb1a 100644 --- a/src/pocketmine/command/defaults/TransferServerCommand.php +++ b/src/pocketmine/command/defaults/TransferServerCommand.php @@ -53,4 +53,4 @@ class TransferServerCommand extends VanillaCommand{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/VanillaCommand.php b/src/pocketmine/command/defaults/VanillaCommand.php index af2c11e9c..d2b5d33ac 100644 --- a/src/pocketmine/command/defaults/VanillaCommand.php +++ b/src/pocketmine/command/defaults/VanillaCommand.php @@ -88,4 +88,4 @@ abstract class VanillaCommand extends Command{ return $i; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/VersionCommand.php b/src/pocketmine/command/defaults/VersionCommand.php index 7854c2eb2..54a89f3ec 100644 --- a/src/pocketmine/command/defaults/VersionCommand.php +++ b/src/pocketmine/command/defaults/VersionCommand.php @@ -102,4 +102,4 @@ class VersionCommand extends VanillaCommand{ } } } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/defaults/WhitelistCommand.php b/src/pocketmine/command/defaults/WhitelistCommand.php index 89eedae3c..d375b3eb9 100644 --- a/src/pocketmine/command/defaults/WhitelistCommand.php +++ b/src/pocketmine/command/defaults/WhitelistCommand.php @@ -117,4 +117,4 @@ class WhitelistCommand extends VanillaCommand{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/command/utils/CommandException.php b/src/pocketmine/command/utils/CommandException.php index 192aa9b0d..fa0b90d6a 100644 --- a/src/pocketmine/command/utils/CommandException.php +++ b/src/pocketmine/command/utils/CommandException.php @@ -25,4 +25,4 @@ namespace pocketmine\command\utils; class CommandException extends \RuntimeException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/command/utils/InvalidCommandSyntaxException.php b/src/pocketmine/command/utils/InvalidCommandSyntaxException.php index 3bf61e219..03185dbcd 100644 --- a/src/pocketmine/command/utils/InvalidCommandSyntaxException.php +++ b/src/pocketmine/command/utils/InvalidCommandSyntaxException.php @@ -25,4 +25,4 @@ namespace pocketmine\command\utils; class InvalidCommandSyntaxException extends CommandException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Ageable.php b/src/pocketmine/entity/Ageable.php index a05ead400..cc835dbbf 100644 --- a/src/pocketmine/entity/Ageable.php +++ b/src/pocketmine/entity/Ageable.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; interface Ageable{ public function isBaby() : bool; -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Animal.php b/src/pocketmine/entity/Animal.php index 9cd4e86f7..5474c39ca 100644 --- a/src/pocketmine/entity/Animal.php +++ b/src/pocketmine/entity/Animal.php @@ -29,4 +29,4 @@ abstract class Animal extends Creature implements Ageable{ public function isBaby() : bool{ return $this->getGenericFlag(self::DATA_FLAG_BABY); } -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Creature.php b/src/pocketmine/entity/Creature.php index 1f088bc1a..fbbd7dbf4 100644 --- a/src/pocketmine/entity/Creature.php +++ b/src/pocketmine/entity/Creature.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; abstract class Creature extends Living{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Damageable.php b/src/pocketmine/entity/Damageable.php index 2d7bc1062..613010b77 100644 --- a/src/pocketmine/entity/Damageable.php +++ b/src/pocketmine/entity/Damageable.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; interface Damageable{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/EntityIds.php b/src/pocketmine/entity/EntityIds.php index 90b0b222e..93b54904a 100644 --- a/src/pocketmine/entity/EntityIds.php +++ b/src/pocketmine/entity/EntityIds.php @@ -116,4 +116,4 @@ interface EntityIds{ public const EVOCATION_FANG = 103; public const EVOCATION_ILLAGER = 104; public const VEX = 105; -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Explosive.php b/src/pocketmine/entity/Explosive.php index c26d5abd5..77099ef58 100644 --- a/src/pocketmine/entity/Explosive.php +++ b/src/pocketmine/entity/Explosive.php @@ -27,4 +27,4 @@ namespace pocketmine\entity; interface Explosive{ public function explode(); -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Monster.php b/src/pocketmine/entity/Monster.php index 5a65053bf..d2b0091b2 100644 --- a/src/pocketmine/entity/Monster.php +++ b/src/pocketmine/entity/Monster.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; abstract class Monster extends Creature{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/NPC.php b/src/pocketmine/entity/NPC.php index 5877cb4e4..01f715a0e 100644 --- a/src/pocketmine/entity/NPC.php +++ b/src/pocketmine/entity/NPC.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; interface NPC{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Rideable.php b/src/pocketmine/entity/Rideable.php index e4ffa840a..8d72a14cf 100644 --- a/src/pocketmine/entity/Rideable.php +++ b/src/pocketmine/entity/Rideable.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; interface Rideable{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Skin.php b/src/pocketmine/entity/Skin.php index b1d04f192..d6fd9d3fe 100644 --- a/src/pocketmine/entity/Skin.php +++ b/src/pocketmine/entity/Skin.php @@ -100,4 +100,4 @@ class Skin{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/Vehicle.php b/src/pocketmine/entity/Vehicle.php index 0ecd9bcb6..21fdbe44f 100644 --- a/src/pocketmine/entity/Vehicle.php +++ b/src/pocketmine/entity/Vehicle.php @@ -26,4 +26,4 @@ namespace pocketmine\entity; abstract class Vehicle extends Entity implements Rideable{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/projectile/Egg.php b/src/pocketmine/entity/projectile/Egg.php index afdc98dbf..c35605d13 100644 --- a/src/pocketmine/entity/projectile/Egg.php +++ b/src/pocketmine/entity/projectile/Egg.php @@ -27,4 +27,4 @@ class Egg extends Throwable{ public const NETWORK_ID = self::EGG; //TODO: spawn chickens on collision -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/projectile/Projectile.php b/src/pocketmine/entity/projectile/Projectile.php index 964808fe9..0b7a4dd70 100644 --- a/src/pocketmine/entity/projectile/Projectile.php +++ b/src/pocketmine/entity/projectile/Projectile.php @@ -185,4 +185,4 @@ abstract class Projectile extends Entity{ return $hasUpdate; } -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/projectile/ProjectileSource.php b/src/pocketmine/entity/projectile/ProjectileSource.php index 30c4ad9ae..0bab7da5f 100644 --- a/src/pocketmine/entity/projectile/ProjectileSource.php +++ b/src/pocketmine/entity/projectile/ProjectileSource.php @@ -26,4 +26,4 @@ namespace pocketmine\entity\projectile; interface ProjectileSource{ -} \ No newline at end of file +} diff --git a/src/pocketmine/entity/projectile/Throwable.php b/src/pocketmine/entity/projectile/Throwable.php index 039012077..8770dd23d 100644 --- a/src/pocketmine/entity/projectile/Throwable.php +++ b/src/pocketmine/entity/projectile/Throwable.php @@ -46,4 +46,4 @@ abstract class Throwable extends Projectile{ return $hasUpdate; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/EventPriority.php b/src/pocketmine/event/EventPriority.php index 0545b3d4d..885a2fbbb 100644 --- a/src/pocketmine/event/EventPriority.php +++ b/src/pocketmine/event/EventPriority.php @@ -62,4 +62,4 @@ abstract class EventPriority{ */ public const MONITOR = 0; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/LevelTimings.php b/src/pocketmine/event/LevelTimings.php index d320833eb..8f67736f7 100644 --- a/src/pocketmine/event/LevelTimings.php +++ b/src/pocketmine/event/LevelTimings.php @@ -121,4 +121,4 @@ class LevelTimings{ $this->tickEntities = new TimingsHandler($name . "tickEntities"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/Listener.php b/src/pocketmine/event/Listener.php index a4e3a7814..e19f673c8 100644 --- a/src/pocketmine/event/Listener.php +++ b/src/pocketmine/event/Listener.php @@ -25,4 +25,4 @@ namespace pocketmine\event; interface Listener{ -} \ No newline at end of file +} diff --git a/src/pocketmine/event/TextContainer.php b/src/pocketmine/event/TextContainer.php index e0d55ba34..21e1a551d 100644 --- a/src/pocketmine/event/TextContainer.php +++ b/src/pocketmine/event/TextContainer.php @@ -55,4 +55,4 @@ class TextContainer{ public function __toString() : string{ return $this->getText(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/Timings.php b/src/pocketmine/event/Timings.php index 3469764b1..a2ad5e5e2 100644 --- a/src/pocketmine/event/Timings.php +++ b/src/pocketmine/event/Timings.php @@ -264,4 +264,4 @@ abstract class Timings{ return self::$packetSendTimingMap[$pk::NETWORK_ID]; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/TimingsHandler.php b/src/pocketmine/event/TimingsHandler.php index 96d6ac3b5..cbda952a2 100644 --- a/src/pocketmine/event/TimingsHandler.php +++ b/src/pocketmine/event/TimingsHandler.php @@ -168,4 +168,4 @@ class TimingsHandler{ unset(self::$HANDLERS[spl_object_hash($this)]); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/TranslationContainer.php b/src/pocketmine/event/TranslationContainer.php index c7fb0efbd..7dc4beadf 100644 --- a/src/pocketmine/event/TranslationContainer.php +++ b/src/pocketmine/event/TranslationContainer.php @@ -77,4 +77,4 @@ class TranslationContainer extends TextContainer{ ++$i; } } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockBreakEvent.php b/src/pocketmine/event/block/BlockBreakEvent.php index 1b791e8d1..53798a06a 100644 --- a/src/pocketmine/event/block/BlockBreakEvent.php +++ b/src/pocketmine/event/block/BlockBreakEvent.php @@ -113,4 +113,4 @@ class BlockBreakEvent extends BlockEvent implements Cancellable{ public function setDropsVariadic(Item ...$drops){ $this->blockDrops = $drops; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockEvent.php b/src/pocketmine/event/block/BlockEvent.php index 8aeb5d809..ec7077932 100644 --- a/src/pocketmine/event/block/BlockEvent.php +++ b/src/pocketmine/event/block/BlockEvent.php @@ -46,4 +46,4 @@ abstract class BlockEvent extends Event{ public function getBlock() : Block{ return $this->block; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockFormEvent.php b/src/pocketmine/event/block/BlockFormEvent.php index 3e534bc82..11fdbc90c 100644 --- a/src/pocketmine/event/block/BlockFormEvent.php +++ b/src/pocketmine/event/block/BlockFormEvent.php @@ -26,4 +26,4 @@ namespace pocketmine\event\block; class BlockFormEvent extends BlockGrowEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockGrowEvent.php b/src/pocketmine/event/block/BlockGrowEvent.php index 24c3bc045..3b9a7678e 100644 --- a/src/pocketmine/event/block/BlockGrowEvent.php +++ b/src/pocketmine/event/block/BlockGrowEvent.php @@ -47,4 +47,4 @@ class BlockGrowEvent extends BlockEvent implements Cancellable{ return $this->newState; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockPlaceEvent.php b/src/pocketmine/event/block/BlockPlaceEvent.php index 7d12d03cc..219ed7190 100644 --- a/src/pocketmine/event/block/BlockPlaceEvent.php +++ b/src/pocketmine/event/block/BlockPlaceEvent.php @@ -82,4 +82,4 @@ class BlockPlaceEvent extends BlockEvent implements Cancellable{ public function getBlockAgainst() : Block{ return $this->blockAgainst; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockSpreadEvent.php b/src/pocketmine/event/block/BlockSpreadEvent.php index 10294d787..351558ce7 100644 --- a/src/pocketmine/event/block/BlockSpreadEvent.php +++ b/src/pocketmine/event/block/BlockSpreadEvent.php @@ -46,4 +46,4 @@ class BlockSpreadEvent extends BlockFormEvent{ return $this->source; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/BlockUpdateEvent.php b/src/pocketmine/event/block/BlockUpdateEvent.php index ee9c2429c..fee4e8370 100644 --- a/src/pocketmine/event/block/BlockUpdateEvent.php +++ b/src/pocketmine/event/block/BlockUpdateEvent.php @@ -31,4 +31,4 @@ use pocketmine\event\Cancellable; class BlockUpdateEvent extends BlockEvent implements Cancellable{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/LeavesDecayEvent.php b/src/pocketmine/event/block/LeavesDecayEvent.php index 394ef4189..b70ae2af5 100644 --- a/src/pocketmine/event/block/LeavesDecayEvent.php +++ b/src/pocketmine/event/block/LeavesDecayEvent.php @@ -31,4 +31,4 @@ use pocketmine\event\Cancellable; class LeavesDecayEvent extends BlockEvent implements Cancellable{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/block/SignChangeEvent.php b/src/pocketmine/event/block/SignChangeEvent.php index 69643fccf..4ec102f5d 100644 --- a/src/pocketmine/event/block/SignChangeEvent.php +++ b/src/pocketmine/event/block/SignChangeEvent.php @@ -102,4 +102,4 @@ class SignChangeEvent extends BlockEvent implements Cancellable{ } $this->lines[$index] = $line; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityArmorChangeEvent.php b/src/pocketmine/event/entity/EntityArmorChangeEvent.php index 2d25e41ff..05af11db6 100644 --- a/src/pocketmine/event/entity/EntityArmorChangeEvent.php +++ b/src/pocketmine/event/entity/EntityArmorChangeEvent.php @@ -26,4 +26,4 @@ namespace pocketmine\event\entity; class EntityArmorChangeEvent extends EntityInventoryChangeEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityBlockChangeEvent.php b/src/pocketmine/event/entity/EntityBlockChangeEvent.php index bd900345b..ee96cd91b 100644 --- a/src/pocketmine/event/entity/EntityBlockChangeEvent.php +++ b/src/pocketmine/event/entity/EntityBlockChangeEvent.php @@ -58,4 +58,4 @@ class EntityBlockChangeEvent extends EntityEvent implements Cancellable{ return $this->to; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityCombustByBlockEvent.php b/src/pocketmine/event/entity/EntityCombustByBlockEvent.php index 4f04177b3..8874dfe0b 100644 --- a/src/pocketmine/event/entity/EntityCombustByBlockEvent.php +++ b/src/pocketmine/event/entity/EntityCombustByBlockEvent.php @@ -48,4 +48,4 @@ class EntityCombustByBlockEvent extends EntityCombustEvent{ return $this->combuster; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityCombustByEntityEvent.php b/src/pocketmine/event/entity/EntityCombustByEntityEvent.php index 20e590038..53f8c37d0 100644 --- a/src/pocketmine/event/entity/EntityCombustByEntityEvent.php +++ b/src/pocketmine/event/entity/EntityCombustByEntityEvent.php @@ -47,4 +47,4 @@ class EntityCombustByEntityEvent extends EntityCombustEvent{ return $this->combuster; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityCombustEvent.php b/src/pocketmine/event/entity/EntityCombustEvent.php index 7819e70bd..cc9254b36 100644 --- a/src/pocketmine/event/entity/EntityCombustEvent.php +++ b/src/pocketmine/event/entity/EntityCombustEvent.php @@ -52,4 +52,4 @@ class EntityCombustEvent extends EntityEvent implements Cancellable{ $this->duration = $duration; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityDamageByBlockEvent.php b/src/pocketmine/event/entity/EntityDamageByBlockEvent.php index 5da3925e6..b36c5ae04 100644 --- a/src/pocketmine/event/entity/EntityDamageByBlockEvent.php +++ b/src/pocketmine/event/entity/EntityDamageByBlockEvent.php @@ -54,4 +54,4 @@ class EntityDamageByBlockEvent extends EntityDamageEvent{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php b/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php index 993079c11..d105c5e23 100644 --- a/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php +++ b/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php @@ -55,4 +55,4 @@ class EntityDamageByChildEntityEvent extends EntityDamageByEntityEvent{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityDamageEvent.php b/src/pocketmine/event/entity/EntityDamageEvent.php index a7d41081e..0cc0afe69 100644 --- a/src/pocketmine/event/entity/EntityDamageEvent.php +++ b/src/pocketmine/event/entity/EntityDamageEvent.php @@ -157,4 +157,4 @@ class EntityDamageEvent extends EntityEvent implements Cancellable{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityDeathEvent.php b/src/pocketmine/event/entity/EntityDeathEvent.php index b72f3dd95..4aa85651d 100644 --- a/src/pocketmine/event/entity/EntityDeathEvent.php +++ b/src/pocketmine/event/entity/EntityDeathEvent.php @@ -63,4 +63,4 @@ class EntityDeathEvent extends EntityEvent{ $this->drops = $drops; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityDespawnEvent.php b/src/pocketmine/event/entity/EntityDespawnEvent.php index 62c0b6ab2..561295857 100644 --- a/src/pocketmine/event/entity/EntityDespawnEvent.php +++ b/src/pocketmine/event/entity/EntityDespawnEvent.php @@ -89,4 +89,4 @@ class EntityDespawnEvent extends EntityEvent{ return $this->entity instanceof Item; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityEffectAddEvent.php b/src/pocketmine/event/entity/EntityEffectAddEvent.php index f3f43ce49..42e0fd07c 100644 --- a/src/pocketmine/event/entity/EntityEffectAddEvent.php +++ b/src/pocketmine/event/entity/EntityEffectAddEvent.php @@ -68,4 +68,4 @@ class EntityEffectAddEvent extends EntityEffectEvent{ return $this->oldEffect; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityEffectEvent.php b/src/pocketmine/event/entity/EntityEffectEvent.php index 4c1dedcdd..78a398ef3 100644 --- a/src/pocketmine/event/entity/EntityEffectEvent.php +++ b/src/pocketmine/event/entity/EntityEffectEvent.php @@ -40,4 +40,4 @@ class EntityEffectEvent extends EntityEvent implements Cancellable{ public function getEffect() : Effect{ return $this->effect; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityEffectRemoveEvent.php b/src/pocketmine/event/entity/EntityEffectRemoveEvent.php index 40ab77600..cb3a8aaf9 100644 --- a/src/pocketmine/event/entity/EntityEffectRemoveEvent.php +++ b/src/pocketmine/event/entity/EntityEffectRemoveEvent.php @@ -29,4 +29,4 @@ namespace pocketmine\event\entity; class EntityEffectRemoveEvent extends EntityEffectEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityEvent.php b/src/pocketmine/event/entity/EntityEvent.php index 585528488..2799441f2 100644 --- a/src/pocketmine/event/entity/EntityEvent.php +++ b/src/pocketmine/event/entity/EntityEvent.php @@ -39,4 +39,4 @@ abstract class EntityEvent extends Event{ public function getEntity(){ return $this->entity; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityExplodeEvent.php b/src/pocketmine/event/entity/EntityExplodeEvent.php index 54bdcd847..02e252852 100644 --- a/src/pocketmine/event/entity/EntityExplodeEvent.php +++ b/src/pocketmine/event/entity/EntityExplodeEvent.php @@ -93,4 +93,4 @@ class EntityExplodeEvent extends EntityEvent implements Cancellable{ $this->yield = $yield; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityInventoryChangeEvent.php b/src/pocketmine/event/entity/EntityInventoryChangeEvent.php index ccdf65bd7..225459fac 100644 --- a/src/pocketmine/event/entity/EntityInventoryChangeEvent.php +++ b/src/pocketmine/event/entity/EntityInventoryChangeEvent.php @@ -79,4 +79,4 @@ class EntityInventoryChangeEvent extends EntityEvent implements Cancellable{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityLevelChangeEvent.php b/src/pocketmine/event/entity/EntityLevelChangeEvent.php index 771de39df..a0bd650fe 100644 --- a/src/pocketmine/event/entity/EntityLevelChangeEvent.php +++ b/src/pocketmine/event/entity/EntityLevelChangeEvent.php @@ -48,4 +48,4 @@ class EntityLevelChangeEvent extends EntityEvent implements Cancellable{ public function getTarget() : Level{ return $this->targetLevel; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityMotionEvent.php b/src/pocketmine/event/entity/EntityMotionEvent.php index c9ea19ef3..2c98b6853 100644 --- a/src/pocketmine/event/entity/EntityMotionEvent.php +++ b/src/pocketmine/event/entity/EntityMotionEvent.php @@ -46,4 +46,4 @@ class EntityMotionEvent extends EntityEvent implements Cancellable{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityRegainHealthEvent.php b/src/pocketmine/event/entity/EntityRegainHealthEvent.php index b484a1dad..b91cced66 100644 --- a/src/pocketmine/event/entity/EntityRegainHealthEvent.php +++ b/src/pocketmine/event/entity/EntityRegainHealthEvent.php @@ -74,4 +74,4 @@ class EntityRegainHealthEvent extends EntityEvent implements Cancellable{ return $this->reason; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityShootBowEvent.php b/src/pocketmine/event/entity/EntityShootBowEvent.php index b96cf045a..ce9150003 100644 --- a/src/pocketmine/event/entity/EntityShootBowEvent.php +++ b/src/pocketmine/event/entity/EntityShootBowEvent.php @@ -105,4 +105,4 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntitySpawnEvent.php b/src/pocketmine/event/entity/EntitySpawnEvent.php index 798daf8ec..d33a7fabd 100644 --- a/src/pocketmine/event/entity/EntitySpawnEvent.php +++ b/src/pocketmine/event/entity/EntitySpawnEvent.php @@ -97,4 +97,4 @@ class EntitySpawnEvent extends EntityEvent{ return $this->entity instanceof Item; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/EntityTeleportEvent.php b/src/pocketmine/event/entity/EntityTeleportEvent.php index 1cc623724..0eddfd0c8 100644 --- a/src/pocketmine/event/entity/EntityTeleportEvent.php +++ b/src/pocketmine/event/entity/EntityTeleportEvent.php @@ -71,4 +71,4 @@ class EntityTeleportEvent extends EntityEvent implements Cancellable{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/ExplosionPrimeEvent.php b/src/pocketmine/event/entity/ExplosionPrimeEvent.php index f4248903e..6cdfacc6f 100644 --- a/src/pocketmine/event/entity/ExplosionPrimeEvent.php +++ b/src/pocketmine/event/entity/ExplosionPrimeEvent.php @@ -72,4 +72,4 @@ class ExplosionPrimeEvent extends EntityEvent implements Cancellable{ $this->blockBreaking = $affectsBlocks; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/ItemDespawnEvent.php b/src/pocketmine/event/entity/ItemDespawnEvent.php index 20e6c549f..76b34a523 100644 --- a/src/pocketmine/event/entity/ItemDespawnEvent.php +++ b/src/pocketmine/event/entity/ItemDespawnEvent.php @@ -44,4 +44,4 @@ class ItemDespawnEvent extends EntityEvent implements Cancellable{ return $this->entity; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/ItemSpawnEvent.php b/src/pocketmine/event/entity/ItemSpawnEvent.php index 84073b452..20427c43d 100644 --- a/src/pocketmine/event/entity/ItemSpawnEvent.php +++ b/src/pocketmine/event/entity/ItemSpawnEvent.php @@ -43,4 +43,4 @@ class ItemSpawnEvent extends EntityEvent{ return $this->entity; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/ProjectileHitEvent.php b/src/pocketmine/event/entity/ProjectileHitEvent.php index f7940adfd..713a2a2b5 100644 --- a/src/pocketmine/event/entity/ProjectileHitEvent.php +++ b/src/pocketmine/event/entity/ProjectileHitEvent.php @@ -43,4 +43,4 @@ class ProjectileHitEvent extends EntityEvent{ return $this->entity; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/entity/ProjectileLaunchEvent.php b/src/pocketmine/event/entity/ProjectileLaunchEvent.php index 22c7ff34e..68b765123 100644 --- a/src/pocketmine/event/entity/ProjectileLaunchEvent.php +++ b/src/pocketmine/event/entity/ProjectileLaunchEvent.php @@ -44,4 +44,4 @@ class ProjectileLaunchEvent extends EntityEvent implements Cancellable{ return $this->entity; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/FurnaceBurnEvent.php b/src/pocketmine/event/inventory/FurnaceBurnEvent.php index 314299221..b466763a7 100644 --- a/src/pocketmine/event/inventory/FurnaceBurnEvent.php +++ b/src/pocketmine/event/inventory/FurnaceBurnEvent.php @@ -93,4 +93,4 @@ class FurnaceBurnEvent extends BlockEvent implements Cancellable{ public function setBurning(bool $burning){ $this->burning = $burning; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/FurnaceSmeltEvent.php b/src/pocketmine/event/inventory/FurnaceSmeltEvent.php index b55a03830..b2dee6642 100644 --- a/src/pocketmine/event/inventory/FurnaceSmeltEvent.php +++ b/src/pocketmine/event/inventory/FurnaceSmeltEvent.php @@ -78,4 +78,4 @@ class FurnaceSmeltEvent extends BlockEvent implements Cancellable{ public function setResult(Item $result){ $this->result = $result; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/InventoryCloseEvent.php b/src/pocketmine/event/inventory/InventoryCloseEvent.php index 79ba94987..54a611622 100644 --- a/src/pocketmine/event/inventory/InventoryCloseEvent.php +++ b/src/pocketmine/event/inventory/InventoryCloseEvent.php @@ -48,4 +48,4 @@ class InventoryCloseEvent extends InventoryEvent{ return $this->who; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/InventoryEvent.php b/src/pocketmine/event/inventory/InventoryEvent.php index 61f163676..995e18b05 100644 --- a/src/pocketmine/event/inventory/InventoryEvent.php +++ b/src/pocketmine/event/inventory/InventoryEvent.php @@ -52,4 +52,4 @@ abstract class InventoryEvent extends Event{ public function getViewers() : array{ return $this->inventory->getViewers(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/InventoryOpenEvent.php b/src/pocketmine/event/inventory/InventoryOpenEvent.php index 2bc26c6b7..9172dfef3 100644 --- a/src/pocketmine/event/inventory/InventoryOpenEvent.php +++ b/src/pocketmine/event/inventory/InventoryOpenEvent.php @@ -49,4 +49,4 @@ class InventoryOpenEvent extends InventoryEvent implements Cancellable{ return $this->who; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php b/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php index c36b57775..bec88a595 100644 --- a/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php +++ b/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php @@ -49,4 +49,4 @@ class InventoryPickupArrowEvent extends InventoryEvent implements Cancellable{ return $this->arrow; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/inventory/InventoryPickupItemEvent.php b/src/pocketmine/event/inventory/InventoryPickupItemEvent.php index a6e3ee2e4..19a5b0044 100644 --- a/src/pocketmine/event/inventory/InventoryPickupItemEvent.php +++ b/src/pocketmine/event/inventory/InventoryPickupItemEvent.php @@ -49,4 +49,4 @@ class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{ return $this->item; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/ChunkEvent.php b/src/pocketmine/event/level/ChunkEvent.php index 260480720..b155a14a1 100644 --- a/src/pocketmine/event/level/ChunkEvent.php +++ b/src/pocketmine/event/level/ChunkEvent.php @@ -49,4 +49,4 @@ abstract class ChunkEvent extends LevelEvent{ public function getChunk() : Chunk{ return $this->chunk; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/ChunkLoadEvent.php b/src/pocketmine/event/level/ChunkLoadEvent.php index 7efeee7ed..936cee3a4 100644 --- a/src/pocketmine/event/level/ChunkLoadEvent.php +++ b/src/pocketmine/event/level/ChunkLoadEvent.php @@ -47,4 +47,4 @@ class ChunkLoadEvent extends ChunkEvent{ public function isNewChunk() : bool{ return $this->newChunk; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/ChunkPopulateEvent.php b/src/pocketmine/event/level/ChunkPopulateEvent.php index 95a73ae27..2e9fe516e 100644 --- a/src/pocketmine/event/level/ChunkPopulateEvent.php +++ b/src/pocketmine/event/level/ChunkPopulateEvent.php @@ -28,4 +28,4 @@ namespace pocketmine\event\level; */ class ChunkPopulateEvent extends ChunkEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/ChunkUnloadEvent.php b/src/pocketmine/event/level/ChunkUnloadEvent.php index 460efc57c..f21235282 100644 --- a/src/pocketmine/event/level/ChunkUnloadEvent.php +++ b/src/pocketmine/event/level/ChunkUnloadEvent.php @@ -30,4 +30,4 @@ use pocketmine\event\Cancellable; */ class ChunkUnloadEvent extends ChunkEvent implements Cancellable{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/LevelEvent.php b/src/pocketmine/event/level/LevelEvent.php index cc08b4b54..7e24f5d28 100644 --- a/src/pocketmine/event/level/LevelEvent.php +++ b/src/pocketmine/event/level/LevelEvent.php @@ -46,4 +46,4 @@ abstract class LevelEvent extends Event{ public function getLevel() : Level{ return $this->level; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/LevelInitEvent.php b/src/pocketmine/event/level/LevelInitEvent.php index f42d31163..6a85f7e44 100644 --- a/src/pocketmine/event/level/LevelInitEvent.php +++ b/src/pocketmine/event/level/LevelInitEvent.php @@ -28,4 +28,4 @@ namespace pocketmine\event\level; */ class LevelInitEvent extends LevelEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/LevelLoadEvent.php b/src/pocketmine/event/level/LevelLoadEvent.php index 06df2149c..da01bfbd8 100644 --- a/src/pocketmine/event/level/LevelLoadEvent.php +++ b/src/pocketmine/event/level/LevelLoadEvent.php @@ -28,4 +28,4 @@ namespace pocketmine\event\level; */ class LevelLoadEvent extends LevelEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/LevelSaveEvent.php b/src/pocketmine/event/level/LevelSaveEvent.php index e08926db1..54a2f8f59 100644 --- a/src/pocketmine/event/level/LevelSaveEvent.php +++ b/src/pocketmine/event/level/LevelSaveEvent.php @@ -28,4 +28,4 @@ namespace pocketmine\event\level; */ class LevelSaveEvent extends LevelEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/LevelUnloadEvent.php b/src/pocketmine/event/level/LevelUnloadEvent.php index 569999053..d2af7f5df 100644 --- a/src/pocketmine/event/level/LevelUnloadEvent.php +++ b/src/pocketmine/event/level/LevelUnloadEvent.php @@ -30,4 +30,4 @@ use pocketmine\event\Cancellable; */ class LevelUnloadEvent extends LevelEvent implements Cancellable{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/level/SpawnChangeEvent.php b/src/pocketmine/event/level/SpawnChangeEvent.php index bbb00f6da..bbfbeef5d 100644 --- a/src/pocketmine/event/level/SpawnChangeEvent.php +++ b/src/pocketmine/event/level/SpawnChangeEvent.php @@ -51,4 +51,4 @@ class SpawnChangeEvent extends LevelEvent{ public function getPreviousSpawn() : Position{ return $this->previousSpawn; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerAchievementAwardedEvent.php b/src/pocketmine/event/player/PlayerAchievementAwardedEvent.php index 4abdfdc29..a30bd27ce 100644 --- a/src/pocketmine/event/player/PlayerAchievementAwardedEvent.php +++ b/src/pocketmine/event/player/PlayerAchievementAwardedEvent.php @@ -50,4 +50,4 @@ class PlayerAchievementAwardedEvent extends PlayerEvent implements Cancellable{ public function getAchievement() : string{ return $this->achievement; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerAnimationEvent.php b/src/pocketmine/event/player/PlayerAnimationEvent.php index 73238dd0b..4ddf132eb 100644 --- a/src/pocketmine/event/player/PlayerAnimationEvent.php +++ b/src/pocketmine/event/player/PlayerAnimationEvent.php @@ -57,4 +57,4 @@ class PlayerAnimationEvent extends PlayerEvent implements Cancellable{ return $this->animationType; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerBedEnterEvent.php b/src/pocketmine/event/player/PlayerBedEnterEvent.php index 49e15d714..8814c5e82 100644 --- a/src/pocketmine/event/player/PlayerBedEnterEvent.php +++ b/src/pocketmine/event/player/PlayerBedEnterEvent.php @@ -45,4 +45,4 @@ class PlayerBedEnterEvent extends PlayerEvent implements Cancellable{ return $this->bed; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerBedLeaveEvent.php b/src/pocketmine/event/player/PlayerBedLeaveEvent.php index c9c678d1d..54c693df5 100644 --- a/src/pocketmine/event/player/PlayerBedLeaveEvent.php +++ b/src/pocketmine/event/player/PlayerBedLeaveEvent.php @@ -44,4 +44,4 @@ class PlayerBedLeaveEvent extends PlayerEvent{ return $this->bed; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerBlockPickEvent.php b/src/pocketmine/event/player/PlayerBlockPickEvent.php index d28ca5902..bcd30ab39 100644 --- a/src/pocketmine/event/player/PlayerBlockPickEvent.php +++ b/src/pocketmine/event/player/PlayerBlockPickEvent.php @@ -56,4 +56,4 @@ class PlayerBlockPickEvent extends PlayerEvent implements Cancellable{ public function setResultItem(Item $item) : void{ $this->resultItem = clone $item; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerBucketEmptyEvent.php b/src/pocketmine/event/player/PlayerBucketEmptyEvent.php index 14a1cda40..fbeb55d6f 100644 --- a/src/pocketmine/event/player/PlayerBucketEmptyEvent.php +++ b/src/pocketmine/event/player/PlayerBucketEmptyEvent.php @@ -26,4 +26,4 @@ namespace pocketmine\event\player; class PlayerBucketEmptyEvent extends PlayerBucketEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerBucketFillEvent.php b/src/pocketmine/event/player/PlayerBucketFillEvent.php index 62c7cfa5d..06bdc3627 100644 --- a/src/pocketmine/event/player/PlayerBucketFillEvent.php +++ b/src/pocketmine/event/player/PlayerBucketFillEvent.php @@ -25,4 +25,4 @@ namespace pocketmine\event\player; class PlayerBucketFillEvent extends PlayerBucketEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerChangeSkinEvent.php b/src/pocketmine/event/player/PlayerChangeSkinEvent.php index 992ee2cf6..e77a7ce56 100644 --- a/src/pocketmine/event/player/PlayerChangeSkinEvent.php +++ b/src/pocketmine/event/player/PlayerChangeSkinEvent.php @@ -75,4 +75,4 @@ class PlayerChangeSkinEvent extends PlayerEvent implements Cancellable{ $this->newSkin = $skin; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerChatEvent.php b/src/pocketmine/event/player/PlayerChatEvent.php index d25851bea..5a305bab8 100644 --- a/src/pocketmine/event/player/PlayerChatEvent.php +++ b/src/pocketmine/event/player/PlayerChatEvent.php @@ -113,4 +113,4 @@ class PlayerChatEvent extends PlayerEvent implements Cancellable{ public function setRecipients(array $recipients){ $this->recipients = $recipients; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php b/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php index b8a80c060..711f87b3e 100644 --- a/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php +++ b/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php @@ -71,4 +71,4 @@ class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancellable{ $this->player = $player; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerCreationEvent.php b/src/pocketmine/event/player/PlayerCreationEvent.php index e12f23733..cd22f5928 100644 --- a/src/pocketmine/event/player/PlayerCreationEvent.php +++ b/src/pocketmine/event/player/PlayerCreationEvent.php @@ -138,4 +138,4 @@ class PlayerCreationEvent extends Event{ $this->playerClass = $class; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerDataSaveEvent.php b/src/pocketmine/event/player/PlayerDataSaveEvent.php index cbe8d7900..3f8bf6c3e 100644 --- a/src/pocketmine/event/player/PlayerDataSaveEvent.php +++ b/src/pocketmine/event/player/PlayerDataSaveEvent.php @@ -75,4 +75,4 @@ class PlayerDataSaveEvent extends Event implements Cancellable{ public function getPlayer() : IPlayer{ return Server::getInstance()->getOfflinePlayer($this->playerName); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerDeathEvent.php b/src/pocketmine/event/player/PlayerDeathEvent.php index 936bbc7e9..e250d7355 100644 --- a/src/pocketmine/event/player/PlayerDeathEvent.php +++ b/src/pocketmine/event/player/PlayerDeathEvent.php @@ -84,4 +84,4 @@ class PlayerDeathEvent extends EntityDeathEvent{ $this->keepInventory = $keepInventory; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerDropItemEvent.php b/src/pocketmine/event/player/PlayerDropItemEvent.php index 01f4026b4..02cd15dd3 100644 --- a/src/pocketmine/event/player/PlayerDropItemEvent.php +++ b/src/pocketmine/event/player/PlayerDropItemEvent.php @@ -52,4 +52,4 @@ class PlayerDropItemEvent extends PlayerEvent implements Cancellable{ return $this->drop; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerEditBookEvent.php b/src/pocketmine/event/player/PlayerEditBookEvent.php index d1c8ffea9..ac6f99d7a 100644 --- a/src/pocketmine/event/player/PlayerEditBookEvent.php +++ b/src/pocketmine/event/player/PlayerEditBookEvent.php @@ -98,4 +98,4 @@ class PlayerEditBookEvent extends PlayerEvent implements Cancellable{ public function getModifiedPages() : array{ return $this->modifiedPages; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerEvent.php b/src/pocketmine/event/player/PlayerEvent.php index 68769f7fb..77cce3444 100644 --- a/src/pocketmine/event/player/PlayerEvent.php +++ b/src/pocketmine/event/player/PlayerEvent.php @@ -36,4 +36,4 @@ abstract class PlayerEvent extends Event{ public function getPlayer() : Player{ return $this->player; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerGameModeChangeEvent.php b/src/pocketmine/event/player/PlayerGameModeChangeEvent.php index 8a1c50c46..3b2926542 100644 --- a/src/pocketmine/event/player/PlayerGameModeChangeEvent.php +++ b/src/pocketmine/event/player/PlayerGameModeChangeEvent.php @@ -44,4 +44,4 @@ class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable{ return $this->gamemode; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerItemConsumeEvent.php b/src/pocketmine/event/player/PlayerItemConsumeEvent.php index 74fa2526b..219021991 100644 --- a/src/pocketmine/event/player/PlayerItemConsumeEvent.php +++ b/src/pocketmine/event/player/PlayerItemConsumeEvent.php @@ -52,4 +52,4 @@ class PlayerItemConsumeEvent extends PlayerEvent implements Cancellable{ return clone $this->item; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerItemHeldEvent.php b/src/pocketmine/event/player/PlayerItemHeldEvent.php index a1f6e0d47..5f0385452 100644 --- a/src/pocketmine/event/player/PlayerItemHeldEvent.php +++ b/src/pocketmine/event/player/PlayerItemHeldEvent.php @@ -77,4 +77,4 @@ class PlayerItemHeldEvent extends PlayerEvent implements Cancellable{ public function getItem() : Item{ return $this->item; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerJoinEvent.php b/src/pocketmine/event/player/PlayerJoinEvent.php index b71078cec..d24955c0c 100644 --- a/src/pocketmine/event/player/PlayerJoinEvent.php +++ b/src/pocketmine/event/player/PlayerJoinEvent.php @@ -60,4 +60,4 @@ class PlayerJoinEvent extends PlayerEvent{ return $this->joinMessage; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerKickEvent.php b/src/pocketmine/event/player/PlayerKickEvent.php index c42874aae..a0573005e 100644 --- a/src/pocketmine/event/player/PlayerKickEvent.php +++ b/src/pocketmine/event/player/PlayerKickEvent.php @@ -70,4 +70,4 @@ class PlayerKickEvent extends PlayerEvent implements Cancellable{ return $this->quitMessage; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerLoginEvent.php b/src/pocketmine/event/player/PlayerLoginEvent.php index 5ca0d3635..d88345423 100644 --- a/src/pocketmine/event/player/PlayerLoginEvent.php +++ b/src/pocketmine/event/player/PlayerLoginEvent.php @@ -58,4 +58,4 @@ class PlayerLoginEvent extends PlayerEvent implements Cancellable{ return $this->kickMessage; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerMoveEvent.php b/src/pocketmine/event/player/PlayerMoveEvent.php index f67971019..a56780a3f 100644 --- a/src/pocketmine/event/player/PlayerMoveEvent.php +++ b/src/pocketmine/event/player/PlayerMoveEvent.php @@ -66,4 +66,4 @@ class PlayerMoveEvent extends PlayerEvent implements Cancellable{ public function setTo(Location $to){ $this->to = $to; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerPreLoginEvent.php b/src/pocketmine/event/player/PlayerPreLoginEvent.php index b171b6512..a5d781a27 100644 --- a/src/pocketmine/event/player/PlayerPreLoginEvent.php +++ b/src/pocketmine/event/player/PlayerPreLoginEvent.php @@ -58,4 +58,4 @@ class PlayerPreLoginEvent extends PlayerEvent implements Cancellable{ return $this->kickMessage; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerRespawnEvent.php b/src/pocketmine/event/player/PlayerRespawnEvent.php index 9269c2f92..fe1a4c473 100644 --- a/src/pocketmine/event/player/PlayerRespawnEvent.php +++ b/src/pocketmine/event/player/PlayerRespawnEvent.php @@ -57,4 +57,4 @@ class PlayerRespawnEvent extends PlayerEvent{ public function setRespawnPosition(Position $position){ $this->position = $position; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerToggleFlightEvent.php b/src/pocketmine/event/player/PlayerToggleFlightEvent.php index 32b77bdee..5687ca62c 100644 --- a/src/pocketmine/event/player/PlayerToggleFlightEvent.php +++ b/src/pocketmine/event/player/PlayerToggleFlightEvent.php @@ -48,4 +48,4 @@ class PlayerToggleFlightEvent extends PlayerEvent implements Cancellable{ return $this->isFlying; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerToggleSneakEvent.php b/src/pocketmine/event/player/PlayerToggleSneakEvent.php index 7844730a7..9f95529bf 100644 --- a/src/pocketmine/event/player/PlayerToggleSneakEvent.php +++ b/src/pocketmine/event/player/PlayerToggleSneakEvent.php @@ -48,4 +48,4 @@ class PlayerToggleSneakEvent extends PlayerEvent implements Cancellable{ return $this->isSneaking; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerToggleSprintEvent.php b/src/pocketmine/event/player/PlayerToggleSprintEvent.php index 3737af6b3..cc57558a4 100644 --- a/src/pocketmine/event/player/PlayerToggleSprintEvent.php +++ b/src/pocketmine/event/player/PlayerToggleSprintEvent.php @@ -48,4 +48,4 @@ class PlayerToggleSprintEvent extends PlayerEvent implements Cancellable{ return $this->isSprinting; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/PlayerTransferEvent.php b/src/pocketmine/event/player/PlayerTransferEvent.php index 38b72a7c5..a6ae566ba 100644 --- a/src/pocketmine/event/player/PlayerTransferEvent.php +++ b/src/pocketmine/event/player/PlayerTransferEvent.php @@ -90,4 +90,4 @@ class PlayerTransferEvent extends PlayerEvent implements Cancellable{ public function setMessage(string $message){ $this->message = $message; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/cheat/PlayerCheatEvent.php b/src/pocketmine/event/player/cheat/PlayerCheatEvent.php index 191d6e0c5..ae8c1ce5a 100644 --- a/src/pocketmine/event/player/cheat/PlayerCheatEvent.php +++ b/src/pocketmine/event/player/cheat/PlayerCheatEvent.php @@ -30,4 +30,4 @@ use pocketmine\event\player\PlayerEvent; abstract class PlayerCheatEvent extends PlayerEvent{ -} \ No newline at end of file +} diff --git a/src/pocketmine/event/player/cheat/PlayerIllegalMoveEvent.php b/src/pocketmine/event/player/cheat/PlayerIllegalMoveEvent.php index 67fd3a870..318d25a27 100644 --- a/src/pocketmine/event/player/cheat/PlayerIllegalMoveEvent.php +++ b/src/pocketmine/event/player/cheat/PlayerIllegalMoveEvent.php @@ -74,4 +74,4 @@ class PlayerIllegalMoveEvent extends PlayerCheatEvent implements Cancellable{ public function getExpectedPosition() : Vector3{ return $this->expectedPosition; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/DataPacketReceiveEvent.php b/src/pocketmine/event/server/DataPacketReceiveEvent.php index 3f1ad365b..82827972e 100644 --- a/src/pocketmine/event/server/DataPacketReceiveEvent.php +++ b/src/pocketmine/event/server/DataPacketReceiveEvent.php @@ -57,4 +57,4 @@ class DataPacketReceiveEvent extends ServerEvent implements Cancellable{ public function getPlayer() : Player{ return $this->player; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/DataPacketSendEvent.php b/src/pocketmine/event/server/DataPacketSendEvent.php index 8061a2366..46f92de33 100644 --- a/src/pocketmine/event/server/DataPacketSendEvent.php +++ b/src/pocketmine/event/server/DataPacketSendEvent.php @@ -57,4 +57,4 @@ class DataPacketSendEvent extends ServerEvent implements Cancellable{ public function getPlayer() : Player{ return $this->player; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/LowMemoryEvent.php b/src/pocketmine/event/server/LowMemoryEvent.php index 61aab23df..c92dcb95a 100644 --- a/src/pocketmine/event/server/LowMemoryEvent.php +++ b/src/pocketmine/event/server/LowMemoryEvent.php @@ -92,4 +92,4 @@ class LowMemoryEvent extends ServerEvent{ return $this->getMemory() - ($this->isGlobal() ? Utils::getMemoryUsage(true)[1] : Utils::getMemoryUsage(true)[0]); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/NetworkInterfaceCrashEvent.php b/src/pocketmine/event/server/NetworkInterfaceCrashEvent.php index 5bc8a4bdc..5fdbd00a4 100644 --- a/src/pocketmine/event/server/NetworkInterfaceCrashEvent.php +++ b/src/pocketmine/event/server/NetworkInterfaceCrashEvent.php @@ -47,4 +47,4 @@ class NetworkInterfaceCrashEvent extends NetworkInterfaceEvent{ public function getCrashInformation() : \Throwable{ return $this->exception; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/NetworkInterfaceEvent.php b/src/pocketmine/event/server/NetworkInterfaceEvent.php index 73965d75c..6269394c0 100644 --- a/src/pocketmine/event/server/NetworkInterfaceEvent.php +++ b/src/pocketmine/event/server/NetworkInterfaceEvent.php @@ -42,4 +42,4 @@ class NetworkInterfaceEvent extends ServerEvent{ public function getInterface() : SourceInterface{ return $this->interface; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/NetworkInterfaceRegisterEvent.php b/src/pocketmine/event/server/NetworkInterfaceRegisterEvent.php index e1e736920..1f1f62a00 100644 --- a/src/pocketmine/event/server/NetworkInterfaceRegisterEvent.php +++ b/src/pocketmine/event/server/NetworkInterfaceRegisterEvent.php @@ -31,4 +31,4 @@ use pocketmine\event\Cancellable; class NetworkInterfaceRegisterEvent extends NetworkInterfaceEvent implements Cancellable{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/NetworkInterfaceUnregisterEvent.php b/src/pocketmine/event/server/NetworkInterfaceUnregisterEvent.php index e69723e50..9fbf3c913 100644 --- a/src/pocketmine/event/server/NetworkInterfaceUnregisterEvent.php +++ b/src/pocketmine/event/server/NetworkInterfaceUnregisterEvent.php @@ -29,4 +29,4 @@ namespace pocketmine\event\server; class NetworkInterfaceUnregisterEvent extends NetworkInterfaceEvent{ public static $handlerList = null; -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/QueryRegenerateEvent.php b/src/pocketmine/event/server/QueryRegenerateEvent.php index 804cf2553..6b9437cab 100644 --- a/src/pocketmine/event/server/QueryRegenerateEvent.php +++ b/src/pocketmine/event/server/QueryRegenerateEvent.php @@ -281,4 +281,4 @@ class QueryRegenerateEvent extends ServerEvent{ return $this->serverName . "\x00" . $this->gametype . "\x00" . $this->map . "\x00" . $this->numPlayers . "\x00" . $this->maxPlayers . "\x00" . Binary::writeLShort($this->port) . $this->ip . "\x00"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/RemoteServerCommandEvent.php b/src/pocketmine/event/server/RemoteServerCommandEvent.php index 2f1be3b14..c682d63e1 100644 --- a/src/pocketmine/event/server/RemoteServerCommandEvent.php +++ b/src/pocketmine/event/server/RemoteServerCommandEvent.php @@ -39,4 +39,4 @@ class RemoteServerCommandEvent extends ServerCommandEvent{ parent::__construct($sender, $command); } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/ServerCommandEvent.php b/src/pocketmine/event/server/ServerCommandEvent.php index c72cf14ee..d59aae9a8 100644 --- a/src/pocketmine/event/server/ServerCommandEvent.php +++ b/src/pocketmine/event/server/ServerCommandEvent.php @@ -73,4 +73,4 @@ class ServerCommandEvent extends ServerEvent implements Cancellable{ $this->command = $command; } -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/ServerEvent.php b/src/pocketmine/event/server/ServerEvent.php index 426391d83..75b85d28c 100644 --- a/src/pocketmine/event/server/ServerEvent.php +++ b/src/pocketmine/event/server/ServerEvent.php @@ -30,4 +30,4 @@ use pocketmine\event\Event; abstract class ServerEvent extends Event{ -} \ No newline at end of file +} diff --git a/src/pocketmine/event/server/UpdateNotifyEvent.php b/src/pocketmine/event/server/UpdateNotifyEvent.php index f03f31c73..9cd1e1a5e 100644 --- a/src/pocketmine/event/server/UpdateNotifyEvent.php +++ b/src/pocketmine/event/server/UpdateNotifyEvent.php @@ -42,4 +42,4 @@ class UpdateNotifyEvent extends ServerEvent{ public function getUpdater() : AutoUpdater{ return $this->updater; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/AnvilInventory.php b/src/pocketmine/inventory/AnvilInventory.php index bec6c6dc1..130220f09 100644 --- a/src/pocketmine/inventory/AnvilInventory.php +++ b/src/pocketmine/inventory/AnvilInventory.php @@ -61,4 +61,4 @@ class AnvilInventory extends ContainerInventory{ $this->dropContents($this->holder->getLevel(), $this->holder->add(0.5, 0.5, 0.5)); } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/BigCraftingGrid.php b/src/pocketmine/inventory/BigCraftingGrid.php index 3c814c5e1..85ecc3405 100644 --- a/src/pocketmine/inventory/BigCraftingGrid.php +++ b/src/pocketmine/inventory/BigCraftingGrid.php @@ -28,4 +28,4 @@ class BigCraftingGrid extends CraftingGrid{ public function getGridWidth() : int{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/ContainerInventory.php b/src/pocketmine/inventory/ContainerInventory.php index 228db00ba..03fe3d847 100644 --- a/src/pocketmine/inventory/ContainerInventory.php +++ b/src/pocketmine/inventory/ContainerInventory.php @@ -65,4 +65,4 @@ abstract class ContainerInventory extends BaseInventory{ * @return int */ abstract public function getNetworkType() : int; -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/CraftingGrid.php b/src/pocketmine/inventory/CraftingGrid.php index 5b66e1c32..18f34af99 100644 --- a/src/pocketmine/inventory/CraftingGrid.php +++ b/src/pocketmine/inventory/CraftingGrid.php @@ -54,4 +54,4 @@ class CraftingGrid extends BaseInventory{ public function sendContents($target) : void{ //no way to do this } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/CraftingRecipe.php b/src/pocketmine/inventory/CraftingRecipe.php index 1eb19ea90..f73e3ae6f 100644 --- a/src/pocketmine/inventory/CraftingRecipe.php +++ b/src/pocketmine/inventory/CraftingRecipe.php @@ -60,4 +60,4 @@ interface CraftingRecipe extends Recipe{ * @return bool */ public function matchItems(array $input, array $output) : bool; -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/CustomInventory.php b/src/pocketmine/inventory/CustomInventory.php index 49a3705a0..4fb2eff48 100644 --- a/src/pocketmine/inventory/CustomInventory.php +++ b/src/pocketmine/inventory/CustomInventory.php @@ -28,4 +28,4 @@ namespace pocketmine\inventory; */ abstract class CustomInventory extends ContainerInventory{ -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/EnchantInventory.php b/src/pocketmine/inventory/EnchantInventory.php index fb31fb9b4..50d3a2126 100644 --- a/src/pocketmine/inventory/EnchantInventory.php +++ b/src/pocketmine/inventory/EnchantInventory.php @@ -61,4 +61,4 @@ class EnchantInventory extends ContainerInventory{ $this->dropContents($this->holder->getLevel(), $this->holder->add(0.5, 0.5, 0.5)); } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/EnderChestInventory.php b/src/pocketmine/inventory/EnderChestInventory.php index 0de093b4d..9291fe79e 100644 --- a/src/pocketmine/inventory/EnderChestInventory.php +++ b/src/pocketmine/inventory/EnderChestInventory.php @@ -66,4 +66,4 @@ class EnderChestInventory extends ChestInventory{ return $this->holder; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/EntityInventory.php b/src/pocketmine/inventory/EntityInventory.php index 7fbe784a9..18c41696a 100644 --- a/src/pocketmine/inventory/EntityInventory.php +++ b/src/pocketmine/inventory/EntityInventory.php @@ -47,4 +47,4 @@ abstract class EntityInventory extends BaseInventory{ public function getHolder(){ return parent::getHolder(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/FakeBlockMenu.php b/src/pocketmine/inventory/FakeBlockMenu.php index 04011ea15..d5db83a0c 100644 --- a/src/pocketmine/inventory/FakeBlockMenu.php +++ b/src/pocketmine/inventory/FakeBlockMenu.php @@ -37,4 +37,4 @@ class FakeBlockMenu extends Position implements InventoryHolder{ public function getInventory(){ return $this->inventory; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/FurnaceRecipe.php b/src/pocketmine/inventory/FurnaceRecipe.php index 4d42fc21b..c8ed4be61 100644 --- a/src/pocketmine/inventory/FurnaceRecipe.php +++ b/src/pocketmine/inventory/FurnaceRecipe.php @@ -66,4 +66,4 @@ class FurnaceRecipe implements Recipe{ public function registerToCraftingManager(CraftingManager $manager) : void{ $manager->registerFurnaceRecipe($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/InventoryHolder.php b/src/pocketmine/inventory/InventoryHolder.php index 9de57f267..ef8f0ee3e 100644 --- a/src/pocketmine/inventory/InventoryHolder.php +++ b/src/pocketmine/inventory/InventoryHolder.php @@ -31,4 +31,4 @@ interface InventoryHolder{ * @return Inventory */ public function getInventory(); -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/MultiRecipe.php b/src/pocketmine/inventory/MultiRecipe.php index c668813a9..dc53d2b3f 100644 --- a/src/pocketmine/inventory/MultiRecipe.php +++ b/src/pocketmine/inventory/MultiRecipe.php @@ -41,4 +41,4 @@ class MultiRecipe{ $this->uuid = $uuid; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/PlayerCursorInventory.php b/src/pocketmine/inventory/PlayerCursorInventory.php index f698ce9f6..c1020f6cf 100644 --- a/src/pocketmine/inventory/PlayerCursorInventory.php +++ b/src/pocketmine/inventory/PlayerCursorInventory.php @@ -52,4 +52,4 @@ class PlayerCursorInventory extends BaseInventory{ public function getHolder(){ return $this->holder; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/Recipe.php b/src/pocketmine/inventory/Recipe.php index 50ab1fbbb..a16e22e4f 100644 --- a/src/pocketmine/inventory/Recipe.php +++ b/src/pocketmine/inventory/Recipe.php @@ -33,4 +33,4 @@ interface Recipe{ public function getResult() : Item; public function registerToCraftingManager(CraftingManager $manager) : void; -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/ShapelessRecipe.php b/src/pocketmine/inventory/ShapelessRecipe.php index 99034fc78..d105f4af9 100644 --- a/src/pocketmine/inventory/ShapelessRecipe.php +++ b/src/pocketmine/inventory/ShapelessRecipe.php @@ -190,4 +190,4 @@ class ShapelessRecipe implements CraftingRecipe{ return count($haveItems) === 0 and count($needItems) === 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/CraftingTransaction.php b/src/pocketmine/inventory/transaction/CraftingTransaction.php index 078f6e8eb..d37cf4c62 100644 --- a/src/pocketmine/inventory/transaction/CraftingTransaction.php +++ b/src/pocketmine/inventory/transaction/CraftingTransaction.php @@ -205,4 +205,4 @@ class CraftingTransaction extends InventoryTransaction{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/InventoryTransaction.php b/src/pocketmine/inventory/transaction/InventoryTransaction.php index 6dabbd815..e6038db83 100644 --- a/src/pocketmine/inventory/transaction/InventoryTransaction.php +++ b/src/pocketmine/inventory/transaction/InventoryTransaction.php @@ -291,4 +291,4 @@ class InventoryTransaction{ public function hasExecuted() : bool{ return $this->hasExecuted; } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/action/CraftingTakeResultAction.php b/src/pocketmine/inventory/transaction/action/CraftingTakeResultAction.php index b3885fb5d..3ac7fd302 100644 --- a/src/pocketmine/inventory/transaction/action/CraftingTakeResultAction.php +++ b/src/pocketmine/inventory/transaction/action/CraftingTakeResultAction.php @@ -56,4 +56,4 @@ class CraftingTakeResultAction extends InventoryAction{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/action/CraftingTransferMaterialAction.php b/src/pocketmine/inventory/transaction/action/CraftingTransferMaterialAction.php index 9c0748812..3d3267007 100644 --- a/src/pocketmine/inventory/transaction/action/CraftingTransferMaterialAction.php +++ b/src/pocketmine/inventory/transaction/action/CraftingTransferMaterialAction.php @@ -70,4 +70,4 @@ class CraftingTransferMaterialAction extends InventoryAction{ public function onExecuteFail(Player $source) : void{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php b/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php index 7ad3ff0d4..0fdb08bb0 100644 --- a/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php +++ b/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php @@ -82,4 +82,4 @@ class CreativeInventoryAction extends InventoryAction{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/action/DropItemAction.php b/src/pocketmine/inventory/transaction/action/DropItemAction.php index fe7007fd4..4109fe73c 100644 --- a/src/pocketmine/inventory/transaction/action/DropItemAction.php +++ b/src/pocketmine/inventory/transaction/action/DropItemAction.php @@ -68,4 +68,4 @@ class DropItemAction extends InventoryAction{ public function onExecuteFail(Player $source) : void{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/action/InventoryAction.php b/src/pocketmine/inventory/transaction/action/InventoryAction.php index 7f13da636..080e1114a 100644 --- a/src/pocketmine/inventory/transaction/action/InventoryAction.php +++ b/src/pocketmine/inventory/transaction/action/InventoryAction.php @@ -121,4 +121,4 @@ abstract class InventoryAction{ */ abstract public function onExecuteFail(Player $source) : void; -} \ No newline at end of file +} diff --git a/src/pocketmine/inventory/transaction/action/SlotChangeAction.php b/src/pocketmine/inventory/transaction/action/SlotChangeAction.php index e4756876e..de9215338 100644 --- a/src/pocketmine/inventory/transaction/action/SlotChangeAction.php +++ b/src/pocketmine/inventory/transaction/action/SlotChangeAction.php @@ -121,4 +121,4 @@ class SlotChangeAction extends InventoryAction{ public function onExecuteFail(Player $source) : void{ $this->inventory->sendSlot($this->inventorySlot, $source); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Apple.php b/src/pocketmine/item/Apple.php index 1184d60cd..b0c4ccd12 100644 --- a/src/pocketmine/item/Apple.php +++ b/src/pocketmine/item/Apple.php @@ -36,4 +36,4 @@ class Apple extends Food{ public function getSaturationRestore() : float{ return 2.4; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Armor.php b/src/pocketmine/item/Armor.php index 48c6b727c..42dd91a09 100644 --- a/src/pocketmine/item/Armor.php +++ b/src/pocketmine/item/Armor.php @@ -55,4 +55,4 @@ abstract class Armor extends Item{ public function setCustomColor(Color $color) : void{ $this->setNamedTagEntry(new IntTag(self::TAG_CUSTOM_COLOR, Binary::signInt($color->toARGB()))); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Axe.php b/src/pocketmine/item/Axe.php index f56a3c41b..4eb0d559b 100644 --- a/src/pocketmine/item/Axe.php +++ b/src/pocketmine/item/Axe.php @@ -42,4 +42,4 @@ class Axe extends TieredTool{ public function getAttackPoints() : int{ return self::getBaseDamageFromTier($this->tier) - 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Banner.php b/src/pocketmine/item/Banner.php index 819d9c19b..27dfe7092 100644 --- a/src/pocketmine/item/Banner.php +++ b/src/pocketmine/item/Banner.php @@ -248,4 +248,4 @@ class Banner extends Item{ public function getFuelTime() : int{ return 300; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Bed.php b/src/pocketmine/item/Bed.php index 1d6b1487b..892152da6 100644 --- a/src/pocketmine/item/Bed.php +++ b/src/pocketmine/item/Bed.php @@ -35,4 +35,4 @@ class Bed extends Item{ public function getMaxStackSize() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/BeetrootSeeds.php b/src/pocketmine/item/BeetrootSeeds.php index 5be598aa2..a329cb8af 100644 --- a/src/pocketmine/item/BeetrootSeeds.php +++ b/src/pocketmine/item/BeetrootSeeds.php @@ -31,4 +31,4 @@ class BeetrootSeeds extends Item{ $this->block = BlockFactory::get(Block::BEETROOT_BLOCK); parent::__construct(self::BEETROOT_SEEDS, $meta, "Beetroot Seeds"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/BeetrootSoup.php b/src/pocketmine/item/BeetrootSoup.php index 041841e03..294698d26 100644 --- a/src/pocketmine/item/BeetrootSoup.php +++ b/src/pocketmine/item/BeetrootSoup.php @@ -44,4 +44,4 @@ class BeetrootSoup extends Food{ public function getResidue(){ return ItemFactory::get(Item::BOWL); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/BlazeRod.php b/src/pocketmine/item/BlazeRod.php index d4fa6e0ba..8f649acd2 100644 --- a/src/pocketmine/item/BlazeRod.php +++ b/src/pocketmine/item/BlazeRod.php @@ -33,4 +33,4 @@ class BlazeRod extends Item{ return 2400; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Bow.php b/src/pocketmine/item/Bow.php index aeb0e1b00..4ca73b053 100644 --- a/src/pocketmine/item/Bow.php +++ b/src/pocketmine/item/Bow.php @@ -102,4 +102,4 @@ class Bow extends Tool{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Bowl.php b/src/pocketmine/item/Bowl.php index 6d8405f0c..67a81ae40 100644 --- a/src/pocketmine/item/Bowl.php +++ b/src/pocketmine/item/Bowl.php @@ -30,4 +30,4 @@ class Bowl extends Item{ } //TODO: check fuel -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Bucket.php b/src/pocketmine/item/Bucket.php index fc3c7dda9..edefab0ed 100644 --- a/src/pocketmine/item/Bucket.php +++ b/src/pocketmine/item/Bucket.php @@ -85,4 +85,4 @@ class Bucket extends Item{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Cake.php b/src/pocketmine/item/Cake.php index a8ccc8120..df9d283df 100644 --- a/src/pocketmine/item/Cake.php +++ b/src/pocketmine/item/Cake.php @@ -35,4 +35,4 @@ class Cake extends Item{ public function getMaxStackSize() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/ChainBoots.php b/src/pocketmine/item/ChainBoots.php index d75db7e1c..25dfadfa1 100644 --- a/src/pocketmine/item/ChainBoots.php +++ b/src/pocketmine/item/ChainBoots.php @@ -32,4 +32,4 @@ class ChainBoots extends Armor{ public function getDefensePoints() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/ChainChestplate.php b/src/pocketmine/item/ChainChestplate.php index edc866f98..30dbb6ee7 100644 --- a/src/pocketmine/item/ChainChestplate.php +++ b/src/pocketmine/item/ChainChestplate.php @@ -32,4 +32,4 @@ class ChainChestplate extends Armor{ public function getDefensePoints() : int{ return 5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/ChainHelmet.php b/src/pocketmine/item/ChainHelmet.php index 9a217fb0d..ab55b6262 100644 --- a/src/pocketmine/item/ChainHelmet.php +++ b/src/pocketmine/item/ChainHelmet.php @@ -32,4 +32,4 @@ class ChainHelmet extends Armor{ public function getDefensePoints() : int{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/ChainLeggings.php b/src/pocketmine/item/ChainLeggings.php index c7245e054..01718ace1 100644 --- a/src/pocketmine/item/ChainLeggings.php +++ b/src/pocketmine/item/ChainLeggings.php @@ -32,4 +32,4 @@ class ChainLeggings extends Armor{ public function getDefensePoints() : int{ return 4; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Coal.php b/src/pocketmine/item/Coal.php index da21c589a..4c4f982c4 100644 --- a/src/pocketmine/item/Coal.php +++ b/src/pocketmine/item/Coal.php @@ -36,4 +36,4 @@ class Coal extends Item{ return 1600; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Consumable.php b/src/pocketmine/item/Consumable.php index 83041c228..93e3bfc2f 100644 --- a/src/pocketmine/item/Consumable.php +++ b/src/pocketmine/item/Consumable.php @@ -33,4 +33,4 @@ interface Consumable{ * @return Effect[] */ public function getAdditionalEffects() : array; -} \ No newline at end of file +} diff --git a/src/pocketmine/item/DiamondBoots.php b/src/pocketmine/item/DiamondBoots.php index eef1e3056..1dab525f1 100644 --- a/src/pocketmine/item/DiamondBoots.php +++ b/src/pocketmine/item/DiamondBoots.php @@ -32,4 +32,4 @@ class DiamondBoots extends Armor{ public function getDefensePoints() : int{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/DiamondChestplate.php b/src/pocketmine/item/DiamondChestplate.php index f7824e37b..91ce11a9c 100644 --- a/src/pocketmine/item/DiamondChestplate.php +++ b/src/pocketmine/item/DiamondChestplate.php @@ -32,4 +32,4 @@ class DiamondChestplate extends Armor{ public function getDefensePoints() : int{ return 8; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/DiamondHelmet.php b/src/pocketmine/item/DiamondHelmet.php index 6ebe38612..64215d743 100644 --- a/src/pocketmine/item/DiamondHelmet.php +++ b/src/pocketmine/item/DiamondHelmet.php @@ -32,4 +32,4 @@ class DiamondHelmet extends Armor{ public function getDefensePoints() : int{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/DiamondLeggings.php b/src/pocketmine/item/DiamondLeggings.php index 1beb2a8b0..2d0b42bc2 100644 --- a/src/pocketmine/item/DiamondLeggings.php +++ b/src/pocketmine/item/DiamondLeggings.php @@ -32,4 +32,4 @@ class DiamondLeggings extends Armor{ public function getDefensePoints() : int{ return 6; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Durable.php b/src/pocketmine/item/Durable.php index a0b580a74..445d19e9a 100644 --- a/src/pocketmine/item/Durable.php +++ b/src/pocketmine/item/Durable.php @@ -71,4 +71,4 @@ abstract class Durable extends Item{ public function isBroken() : bool{ return $this->meta >= $this->getMaxDurability(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/FishingRod.php b/src/pocketmine/item/FishingRod.php index 43ec05f43..85991e5e9 100644 --- a/src/pocketmine/item/FishingRod.php +++ b/src/pocketmine/item/FishingRod.php @@ -29,4 +29,4 @@ class FishingRod extends Item{ } //TODO -} \ No newline at end of file +} diff --git a/src/pocketmine/item/FlintSteel.php b/src/pocketmine/item/FlintSteel.php index 4f4e35fb9..fcce0bf08 100644 --- a/src/pocketmine/item/FlintSteel.php +++ b/src/pocketmine/item/FlintSteel.php @@ -52,4 +52,4 @@ class FlintSteel extends Tool{ public function getMaxDurability(){ return 65; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/GoldBoots.php b/src/pocketmine/item/GoldBoots.php index 886bc6559..da179e5d6 100644 --- a/src/pocketmine/item/GoldBoots.php +++ b/src/pocketmine/item/GoldBoots.php @@ -32,4 +32,4 @@ class GoldBoots extends Armor{ public function getDefensePoints() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/GoldChestplate.php b/src/pocketmine/item/GoldChestplate.php index a9ddf2ca9..c04f4f15b 100644 --- a/src/pocketmine/item/GoldChestplate.php +++ b/src/pocketmine/item/GoldChestplate.php @@ -32,4 +32,4 @@ class GoldChestplate extends Armor{ public function getDefensePoints() : int{ return 5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/GoldHelmet.php b/src/pocketmine/item/GoldHelmet.php index 059dc0c50..00a456177 100644 --- a/src/pocketmine/item/GoldHelmet.php +++ b/src/pocketmine/item/GoldHelmet.php @@ -32,4 +32,4 @@ class GoldHelmet extends Armor{ public function getDefensePoints() : int{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/GoldLeggings.php b/src/pocketmine/item/GoldLeggings.php index 5d7ef871a..8b740f3eb 100644 --- a/src/pocketmine/item/GoldLeggings.php +++ b/src/pocketmine/item/GoldLeggings.php @@ -32,4 +32,4 @@ class GoldLeggings extends Armor{ public function getDefensePoints() : int{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Hoe.php b/src/pocketmine/item/Hoe.php index 4fa781d61..af726a795 100644 --- a/src/pocketmine/item/Hoe.php +++ b/src/pocketmine/item/Hoe.php @@ -29,4 +29,4 @@ class Hoe extends TieredTool{ return $this->tier; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/IronBoots.php b/src/pocketmine/item/IronBoots.php index c87160301..fbb3f725b 100644 --- a/src/pocketmine/item/IronBoots.php +++ b/src/pocketmine/item/IronBoots.php @@ -32,4 +32,4 @@ class IronBoots extends Armor{ public function getDefensePoints() : int{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/IronChestplate.php b/src/pocketmine/item/IronChestplate.php index 7fbbe2e94..886c7e435 100644 --- a/src/pocketmine/item/IronChestplate.php +++ b/src/pocketmine/item/IronChestplate.php @@ -32,4 +32,4 @@ class IronChestplate extends Armor{ public function getDefensePoints() : int{ return 6; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/IronHelmet.php b/src/pocketmine/item/IronHelmet.php index 325563648..936370d14 100644 --- a/src/pocketmine/item/IronHelmet.php +++ b/src/pocketmine/item/IronHelmet.php @@ -32,4 +32,4 @@ class IronHelmet extends Armor{ public function getDefensePoints() : int{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/IronLeggings.php b/src/pocketmine/item/IronLeggings.php index 208dc50e8..0494db868 100644 --- a/src/pocketmine/item/IronLeggings.php +++ b/src/pocketmine/item/IronLeggings.php @@ -32,4 +32,4 @@ class IronLeggings extends Armor{ public function getDefensePoints() : int{ return 5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/ItemBlock.php b/src/pocketmine/item/ItemBlock.php index b74db2565..5db8fee54 100644 --- a/src/pocketmine/item/ItemBlock.php +++ b/src/pocketmine/item/ItemBlock.php @@ -54,4 +54,4 @@ class ItemBlock extends Item{ return $this->block->getFuelTime(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/ItemFactory.php b/src/pocketmine/item/ItemFactory.php index a65955941..37518577c 100644 --- a/src/pocketmine/item/ItemFactory.php +++ b/src/pocketmine/item/ItemFactory.php @@ -377,4 +377,4 @@ class ItemFactory{ } return self::$list[$id] !== null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/LeatherBoots.php b/src/pocketmine/item/LeatherBoots.php index f8a494d9d..397b55b0c 100644 --- a/src/pocketmine/item/LeatherBoots.php +++ b/src/pocketmine/item/LeatherBoots.php @@ -32,4 +32,4 @@ class LeatherBoots extends Armor{ public function getDefensePoints() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/LeatherCap.php b/src/pocketmine/item/LeatherCap.php index 1dead2531..9877d979b 100644 --- a/src/pocketmine/item/LeatherCap.php +++ b/src/pocketmine/item/LeatherCap.php @@ -32,4 +32,4 @@ class LeatherCap extends Armor{ public function getDefensePoints() : int{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/LeatherPants.php b/src/pocketmine/item/LeatherPants.php index 7d9dda553..4f7301012 100644 --- a/src/pocketmine/item/LeatherPants.php +++ b/src/pocketmine/item/LeatherPants.php @@ -32,4 +32,4 @@ class LeatherPants extends Armor{ public function getDefensePoints() : int{ return 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/LeatherTunic.php b/src/pocketmine/item/LeatherTunic.php index 878dcb5fe..ce83c351d 100644 --- a/src/pocketmine/item/LeatherTunic.php +++ b/src/pocketmine/item/LeatherTunic.php @@ -32,4 +32,4 @@ class LeatherTunic extends Armor{ public function getDefensePoints() : int{ return 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/MelonSeeds.php b/src/pocketmine/item/MelonSeeds.php index 986d66ba8..ab457e421 100644 --- a/src/pocketmine/item/MelonSeeds.php +++ b/src/pocketmine/item/MelonSeeds.php @@ -31,4 +31,4 @@ class MelonSeeds extends Item{ $this->block = BlockFactory::get(Block::MELON_STEM); parent::__construct(self::MELON_SEEDS, $meta, "Melon Seeds"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Painting.php b/src/pocketmine/item/Painting.php index bd6075fe3..97e425849 100644 --- a/src/pocketmine/item/Painting.php +++ b/src/pocketmine/item/Painting.php @@ -92,4 +92,4 @@ class Painting extends Item{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Pickaxe.php b/src/pocketmine/item/Pickaxe.php index b0b9ff8c5..de0ecd03e 100644 --- a/src/pocketmine/item/Pickaxe.php +++ b/src/pocketmine/item/Pickaxe.php @@ -42,4 +42,4 @@ class Pickaxe extends TieredTool{ public function getAttackPoints() : int{ return self::getBaseDamageFromTier($this->tier) - 2; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Potato.php b/src/pocketmine/item/Potato.php index 879e5dff2..46735fd11 100644 --- a/src/pocketmine/item/Potato.php +++ b/src/pocketmine/item/Potato.php @@ -39,4 +39,4 @@ class Potato extends Food{ public function getSaturationRestore() : float{ return 0.6; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/PumpkinSeeds.php b/src/pocketmine/item/PumpkinSeeds.php index 260043ebc..0ad4a84aa 100644 --- a/src/pocketmine/item/PumpkinSeeds.php +++ b/src/pocketmine/item/PumpkinSeeds.php @@ -31,4 +31,4 @@ class PumpkinSeeds extends Item{ $this->block = BlockFactory::get(Block::PUMPKIN_STEM); parent::__construct(self::PUMPKIN_SEEDS, $meta, "Pumpkin Seeds"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/RottenFlesh.php b/src/pocketmine/item/RottenFlesh.php index b5a2b172d..70e22f0ea 100644 --- a/src/pocketmine/item/RottenFlesh.php +++ b/src/pocketmine/item/RottenFlesh.php @@ -49,4 +49,4 @@ class RottenFlesh extends Food{ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Shears.php b/src/pocketmine/item/Shears.php index f6caad3c3..44129b0d5 100644 --- a/src/pocketmine/item/Shears.php +++ b/src/pocketmine/item/Shears.php @@ -49,4 +49,4 @@ class Shears extends Tool{ protected function getBaseMiningEfficiency() : float{ return 15; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Shovel.php b/src/pocketmine/item/Shovel.php index 355e5e49c..2e60f3f6d 100644 --- a/src/pocketmine/item/Shovel.php +++ b/src/pocketmine/item/Shovel.php @@ -42,4 +42,4 @@ class Shovel extends TieredTool{ public function getAttackPoints() : int{ return self::getBaseDamageFromTier($this->tier) - 3; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Sign.php b/src/pocketmine/item/Sign.php index b8a6e5c77..7248d369c 100644 --- a/src/pocketmine/item/Sign.php +++ b/src/pocketmine/item/Sign.php @@ -35,4 +35,4 @@ class Sign extends Item{ public function getMaxStackSize() : int{ return 16; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Snowball.php b/src/pocketmine/item/Snowball.php index ba58c8fbf..1e2fc00d1 100644 --- a/src/pocketmine/item/Snowball.php +++ b/src/pocketmine/item/Snowball.php @@ -39,4 +39,4 @@ class Snowball extends ProjectileItem{ public function getThrowForce() : float{ return 1.5; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Stick.php b/src/pocketmine/item/Stick.php index f5a216326..b3eb12b9f 100644 --- a/src/pocketmine/item/Stick.php +++ b/src/pocketmine/item/Stick.php @@ -33,4 +33,4 @@ class Stick extends Item{ return 100; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Sword.php b/src/pocketmine/item/Sword.php index baea5ee1b..013f56abe 100644 --- a/src/pocketmine/item/Sword.php +++ b/src/pocketmine/item/Sword.php @@ -51,4 +51,4 @@ class Sword extends TieredTool{ protected function getBaseMiningEfficiency() : float{ return 10; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/TieredTool.php b/src/pocketmine/item/TieredTool.php index 3f82eade4..4ec1841cd 100644 --- a/src/pocketmine/item/TieredTool.php +++ b/src/pocketmine/item/TieredTool.php @@ -105,4 +105,4 @@ abstract class TieredTool extends Tool{ return 0; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/Tool.php b/src/pocketmine/item/Tool.php index b825b3cd7..5d995379e 100644 --- a/src/pocketmine/item/Tool.php +++ b/src/pocketmine/item/Tool.php @@ -80,4 +80,4 @@ abstract class Tool extends Durable{ protected function getBaseMiningEfficiency() : float{ return 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/WheatSeeds.php b/src/pocketmine/item/WheatSeeds.php index ad98c930e..8a97131b3 100644 --- a/src/pocketmine/item/WheatSeeds.php +++ b/src/pocketmine/item/WheatSeeds.php @@ -31,4 +31,4 @@ class WheatSeeds extends Item{ $this->block = BlockFactory::get(Block::WHEAT_BLOCK); parent::__construct(self::WHEAT_SEEDS, $meta, "Wheat Seeds"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/WritableBook.php b/src/pocketmine/item/WritableBook.php index 166d71f79..f435ca6fe 100644 --- a/src/pocketmine/item/WritableBook.php +++ b/src/pocketmine/item/WritableBook.php @@ -208,4 +208,4 @@ class WritableBook extends Item{ $nbt->setTag(new ListTag(self::TAG_PAGES, $pages, NBT::TAG_Compound)); $this->setNamedTag($nbt); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/WrittenBook.php b/src/pocketmine/item/WrittenBook.php index c67769060..5666e6c6b 100644 --- a/src/pocketmine/item/WrittenBook.php +++ b/src/pocketmine/item/WrittenBook.php @@ -107,4 +107,4 @@ class WrittenBook extends WritableBook{ $namedTag->setString(self::TAG_TITLE, $title); $this->setNamedTag($namedTag); } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/enchantment/Enchantment.php b/src/pocketmine/item/enchantment/Enchantment.php index 7f0c59be0..5057ba418 100644 --- a/src/pocketmine/item/enchantment/Enchantment.php +++ b/src/pocketmine/item/enchantment/Enchantment.php @@ -225,4 +225,4 @@ class Enchantment{ return $this; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/enchantment/EnchantmentEntry.php b/src/pocketmine/item/enchantment/EnchantmentEntry.php index d8aa7d050..b1812859e 100644 --- a/src/pocketmine/item/enchantment/EnchantmentEntry.php +++ b/src/pocketmine/item/enchantment/EnchantmentEntry.php @@ -54,4 +54,4 @@ class EnchantmentEntry{ return $this->randomName; } -} \ No newline at end of file +} diff --git a/src/pocketmine/item/enchantment/EnchantmentList.php b/src/pocketmine/item/enchantment/EnchantmentList.php index 6e30af4d1..e89510f3e 100644 --- a/src/pocketmine/item/enchantment/EnchantmentList.php +++ b/src/pocketmine/item/enchantment/EnchantmentList.php @@ -53,4 +53,4 @@ class EnchantmentList{ return $this->enchantments->getSize(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/ChunkLoader.php b/src/pocketmine/level/ChunkLoader.php index 00ac46ce8..144b55192 100644 --- a/src/pocketmine/level/ChunkLoader.php +++ b/src/pocketmine/level/ChunkLoader.php @@ -111,4 +111,4 @@ interface ChunkLoader{ */ public function onBlockChanged(Vector3 $block); -} \ No newline at end of file +} diff --git a/src/pocketmine/level/ChunkManager.php b/src/pocketmine/level/ChunkManager.php index baf1de96b..37a693dc1 100644 --- a/src/pocketmine/level/ChunkManager.php +++ b/src/pocketmine/level/ChunkManager.php @@ -149,4 +149,4 @@ interface ChunkManager{ * @return bool */ public function isInWorld(float $x, float $y, float $z) : bool; -} \ No newline at end of file +} diff --git a/src/pocketmine/level/LevelException.php b/src/pocketmine/level/LevelException.php index 478c9ef96..cda361f86 100644 --- a/src/pocketmine/level/LevelException.php +++ b/src/pocketmine/level/LevelException.php @@ -27,4 +27,4 @@ use pocketmine\utils\ServerException; class LevelException extends ServerException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/SimpleChunkManager.php b/src/pocketmine/level/SimpleChunkManager.php index eaf0d4077..82ced4e9f 100644 --- a/src/pocketmine/level/SimpleChunkManager.php +++ b/src/pocketmine/level/SimpleChunkManager.php @@ -179,4 +179,4 @@ class SimpleChunkManager implements ChunkManager{ $z <= INT32_MAX and $z >= INT32_MIN ); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/WeakPosition.php b/src/pocketmine/level/WeakPosition.php index 6a0a0b052..5257c8ba9 100644 --- a/src/pocketmine/level/WeakPosition.php +++ b/src/pocketmine/level/WeakPosition.php @@ -89,4 +89,4 @@ class WeakPosition extends Position{ public function __toString(){ return "Weak" . parent::__toString(); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/ChunkException.php b/src/pocketmine/level/format/ChunkException.php index 570720df3..0d373f486 100644 --- a/src/pocketmine/level/format/ChunkException.php +++ b/src/pocketmine/level/format/ChunkException.php @@ -25,4 +25,4 @@ namespace pocketmine\level\format; class ChunkException extends \RuntimeException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/EmptySubChunk.php b/src/pocketmine/level/format/EmptySubChunk.php index 7af20c6cd..738e6530f 100644 --- a/src/pocketmine/level/format/EmptySubChunk.php +++ b/src/pocketmine/level/format/EmptySubChunk.php @@ -120,4 +120,4 @@ class EmptySubChunk implements SubChunkInterface{ public function fastSerialize() : string{ throw new \BadMethodCallException("Should not try to serialize empty subchunks"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/SubChunk.php b/src/pocketmine/level/format/SubChunk.php index c7107fdfb..74c662521 100644 --- a/src/pocketmine/level/format/SubChunk.php +++ b/src/pocketmine/level/format/SubChunk.php @@ -242,4 +242,4 @@ class SubChunk implements SubChunkInterface{ public function __debugInfo(){ return []; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/SubChunkInterface.php b/src/pocketmine/level/format/SubChunkInterface.php index 182c06e43..6cfaf945c 100644 --- a/src/pocketmine/level/format/SubChunkInterface.php +++ b/src/pocketmine/level/format/SubChunkInterface.php @@ -206,4 +206,4 @@ interface SubChunkInterface{ * @return string */ public function fastSerialize() : string; -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/ChunkRequestTask.php b/src/pocketmine/level/format/io/ChunkRequestTask.php index b205aee22..3effbd0e0 100644 --- a/src/pocketmine/level/format/io/ChunkRequestTask.php +++ b/src/pocketmine/level/format/io/ChunkRequestTask.php @@ -94,4 +94,4 @@ class ChunkRequestTask extends AsyncTask{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/ChunkUtils.php b/src/pocketmine/level/format/io/ChunkUtils.php index 3a02ba04f..f7716ebc1 100644 --- a/src/pocketmine/level/format/io/ChunkUtils.php +++ b/src/pocketmine/level/format/io/ChunkUtils.php @@ -105,4 +105,4 @@ if(!extension_loaded('pocketmine_chunkutils')){ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/LevelProvider.php b/src/pocketmine/level/format/io/LevelProvider.php index b48c7abc2..e306d7f08 100644 --- a/src/pocketmine/level/format/io/LevelProvider.php +++ b/src/pocketmine/level/format/io/LevelProvider.php @@ -232,4 +232,4 @@ interface LevelProvider{ public function close(); -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/LevelProviderManager.php b/src/pocketmine/level/format/io/LevelProviderManager.php index c6eb18882..78aa73816 100644 --- a/src/pocketmine/level/format/io/LevelProviderManager.php +++ b/src/pocketmine/level/format/io/LevelProviderManager.php @@ -69,4 +69,4 @@ abstract class LevelProviderManager{ public static function getProviderByName(string $name){ return self::$providers[trim(strtolower($name))] ?? null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/exception/UnsupportedChunkFormatException.php b/src/pocketmine/level/format/io/exception/UnsupportedChunkFormatException.php index eec42c0a2..e88ba4f83 100644 --- a/src/pocketmine/level/format/io/exception/UnsupportedChunkFormatException.php +++ b/src/pocketmine/level/format/io/exception/UnsupportedChunkFormatException.php @@ -27,4 +27,4 @@ use pocketmine\level\format\ChunkException; class UnsupportedChunkFormatException extends ChunkException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/leveldb/LevelDB.php b/src/pocketmine/level/format/io/leveldb/LevelDB.php index 4080f698a..d360268c5 100644 --- a/src/pocketmine/level/format/io/leveldb/LevelDB.php +++ b/src/pocketmine/level/format/io/leveldb/LevelDB.php @@ -648,4 +648,4 @@ class LevelDB extends BaseLevelProvider{ $this->db->close(); $this->level = null; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/region/Anvil.php b/src/pocketmine/level/format/io/region/Anvil.php index 4e87f0490..7e6b27b43 100644 --- a/src/pocketmine/level/format/io/region/Anvil.php +++ b/src/pocketmine/level/format/io/region/Anvil.php @@ -165,4 +165,4 @@ class Anvil extends McRegion{ return 256; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/region/CorruptedRegionException.php b/src/pocketmine/level/format/io/region/CorruptedRegionException.php index dc0c9e1e0..6a6308022 100644 --- a/src/pocketmine/level/format/io/region/CorruptedRegionException.php +++ b/src/pocketmine/level/format/io/region/CorruptedRegionException.php @@ -27,4 +27,4 @@ namespace pocketmine\level\format\io\region; class CorruptedRegionException extends RegionException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/region/PMAnvil.php b/src/pocketmine/level/format/io/region/PMAnvil.php index 39a0001af..5ef0d665c 100644 --- a/src/pocketmine/level/format/io/region/PMAnvil.php +++ b/src/pocketmine/level/format/io/region/PMAnvil.php @@ -60,4 +60,4 @@ class PMAnvil extends Anvil{ public static function getPcWorldFormatVersion() : int{ return -1; //Not a PC format, only PocketMine-MP } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/format/io/region/RegionException.php b/src/pocketmine/level/format/io/region/RegionException.php index f81157336..4118a00d3 100644 --- a/src/pocketmine/level/format/io/region/RegionException.php +++ b/src/pocketmine/level/format/io/region/RegionException.php @@ -27,4 +27,4 @@ namespace pocketmine\level\format\io\region; class RegionException extends \RuntimeException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/PopulationTask.php b/src/pocketmine/level/generator/PopulationTask.php index ed38db6d4..06213eba6 100644 --- a/src/pocketmine/level/generator/PopulationTask.php +++ b/src/pocketmine/level/generator/PopulationTask.php @@ -169,4 +169,4 @@ class PopulationTask extends AsyncTask{ $level->generateChunkCallback($chunk->getX(), $chunk->getZ(), $chunk); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/biome/Biome.php b/src/pocketmine/level/generator/biome/Biome.php index 3af11f8b4..8911ecdb0 100644 --- a/src/pocketmine/level/generator/biome/Biome.php +++ b/src/pocketmine/level/generator/biome/Biome.php @@ -192,4 +192,4 @@ abstract class Biome{ public function getRainfall() : float{ return $this->rainfall; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/biome/BiomeSelector.php b/src/pocketmine/level/generator/biome/BiomeSelector.php index 387160cb8..52bcbc185 100644 --- a/src/pocketmine/level/generator/biome/BiomeSelector.php +++ b/src/pocketmine/level/generator/biome/BiomeSelector.php @@ -87,4 +87,4 @@ class BiomeSelector{ $biomeId = $this->map[$temperature + ($rainfall << 6)]; return $this->biomes[$biomeId] ?? $this->fallback; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/noise/Noise.php b/src/pocketmine/level/generator/noise/Noise.php index 01959a863..481d6512d 100644 --- a/src/pocketmine/level/generator/noise/Noise.php +++ b/src/pocketmine/level/generator/noise/Noise.php @@ -148,4 +148,4 @@ abstract class Noise{ $this->offsetY = $y; $this->offsetZ = $z; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/noise/Perlin.php b/src/pocketmine/level/generator/noise/Perlin.php index 91893ff6d..84b2ab2c2 100644 --- a/src/pocketmine/level/generator/noise/Perlin.php +++ b/src/pocketmine/level/generator/noise/Perlin.php @@ -147,4 +147,4 @@ class Perlin extends Noise{ public function getNoise2D($x, $y){ return $this->getNoise3D($x, $y, 0); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/noise/Simplex.php b/src/pocketmine/level/generator/noise/Simplex.php index c3d82aa10..d29546f7e 100644 --- a/src/pocketmine/level/generator/noise/Simplex.php +++ b/src/pocketmine/level/generator/noise/Simplex.php @@ -439,4 +439,4 @@ class Simplex extends Perlin{ // Sum up and scale the result to cover the range [-1,1] return 27.0 * (n0 + n1 + n2 + n3 + n4); }*/ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/Normal.php b/src/pocketmine/level/generator/normal/Normal.php index f9f3a7d54..8887db4fa 100644 --- a/src/pocketmine/level/generator/normal/Normal.php +++ b/src/pocketmine/level/generator/normal/Normal.php @@ -266,4 +266,4 @@ class Normal extends Generator{ return new Vector3(127.5, 128, 127.5); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/DesertBiome.php b/src/pocketmine/level/generator/normal/biome/DesertBiome.php index e9ac96082..7a228a81c 100644 --- a/src/pocketmine/level/generator/normal/biome/DesertBiome.php +++ b/src/pocketmine/level/generator/normal/biome/DesertBiome.php @@ -37,4 +37,4 @@ class DesertBiome extends SandyBiome{ public function getName() : string{ return "Desert"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/ForestBiome.php b/src/pocketmine/level/generator/normal/biome/ForestBiome.php index 5d7f55a13..22fca09b8 100644 --- a/src/pocketmine/level/generator/normal/biome/ForestBiome.php +++ b/src/pocketmine/level/generator/normal/biome/ForestBiome.php @@ -62,4 +62,4 @@ class ForestBiome extends GrassyBiome{ public function getName() : string{ return $this->type === self::TYPE_BIRCH ? "Birch Forest" : "Forest"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/GrassyBiome.php b/src/pocketmine/level/generator/normal/biome/GrassyBiome.php index 22ff43a1b..f68a446d0 100644 --- a/src/pocketmine/level/generator/normal/biome/GrassyBiome.php +++ b/src/pocketmine/level/generator/normal/biome/GrassyBiome.php @@ -37,4 +37,4 @@ abstract class GrassyBiome extends NormalBiome{ BlockFactory::get(Block::DIRT, 0), ]); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/IcePlainsBiome.php b/src/pocketmine/level/generator/normal/biome/IcePlainsBiome.php index 180610a63..12fdb7889 100644 --- a/src/pocketmine/level/generator/normal/biome/IcePlainsBiome.php +++ b/src/pocketmine/level/generator/normal/biome/IcePlainsBiome.php @@ -44,4 +44,4 @@ class IcePlainsBiome extends SnowyBiome{ public function getName() : string{ return "Ice Plains"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/MountainsBiome.php b/src/pocketmine/level/generator/normal/biome/MountainsBiome.php index 0f4cd2203..60911c331 100644 --- a/src/pocketmine/level/generator/normal/biome/MountainsBiome.php +++ b/src/pocketmine/level/generator/normal/biome/MountainsBiome.php @@ -51,4 +51,4 @@ class MountainsBiome extends GrassyBiome{ public function getName() : string{ return "Mountains"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/OceanBiome.php b/src/pocketmine/level/generator/normal/biome/OceanBiome.php index 7accc4f09..c079470ab 100644 --- a/src/pocketmine/level/generator/normal/biome/OceanBiome.php +++ b/src/pocketmine/level/generator/normal/biome/OceanBiome.php @@ -44,4 +44,4 @@ class OceanBiome extends GrassyBiome{ public function getName() : string{ return "Ocean"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/PlainBiome.php b/src/pocketmine/level/generator/normal/biome/PlainBiome.php index e745d68f3..fabe6bdde 100644 --- a/src/pocketmine/level/generator/normal/biome/PlainBiome.php +++ b/src/pocketmine/level/generator/normal/biome/PlainBiome.php @@ -44,4 +44,4 @@ class PlainBiome extends GrassyBiome{ public function getName() : string{ return "Plains"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/RiverBiome.php b/src/pocketmine/level/generator/normal/biome/RiverBiome.php index 24fbf98e1..ed6de1bcf 100644 --- a/src/pocketmine/level/generator/normal/biome/RiverBiome.php +++ b/src/pocketmine/level/generator/normal/biome/RiverBiome.php @@ -44,4 +44,4 @@ class RiverBiome extends GrassyBiome{ public function getName() : string{ return "River"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/SandyBiome.php b/src/pocketmine/level/generator/normal/biome/SandyBiome.php index 58044bbe8..e415ba02d 100644 --- a/src/pocketmine/level/generator/normal/biome/SandyBiome.php +++ b/src/pocketmine/level/generator/normal/biome/SandyBiome.php @@ -37,4 +37,4 @@ abstract class SandyBiome extends NormalBiome{ BlockFactory::get(Block::SANDSTONE, 0) ]); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/SmallMountainsBiome.php b/src/pocketmine/level/generator/normal/biome/SmallMountainsBiome.php index ab71bae80..dac0893ee 100644 --- a/src/pocketmine/level/generator/normal/biome/SmallMountainsBiome.php +++ b/src/pocketmine/level/generator/normal/biome/SmallMountainsBiome.php @@ -35,4 +35,4 @@ class SmallMountainsBiome extends MountainsBiome{ public function getName() : string{ return "Small Mountains"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/SnowyBiome.php b/src/pocketmine/level/generator/normal/biome/SnowyBiome.php index 0be445dfe..f6ffd1fd7 100644 --- a/src/pocketmine/level/generator/normal/biome/SnowyBiome.php +++ b/src/pocketmine/level/generator/normal/biome/SnowyBiome.php @@ -37,4 +37,4 @@ abstract class SnowyBiome extends NormalBiome{ BlockFactory::get(Block::DIRT, 0) ]); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/SwampBiome.php b/src/pocketmine/level/generator/normal/biome/SwampBiome.php index bcd9c6c89..7d5dba0bc 100644 --- a/src/pocketmine/level/generator/normal/biome/SwampBiome.php +++ b/src/pocketmine/level/generator/normal/biome/SwampBiome.php @@ -37,4 +37,4 @@ class SwampBiome extends GrassyBiome{ public function getName() : string{ return "Swamp"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/normal/biome/TaigaBiome.php b/src/pocketmine/level/generator/normal/biome/TaigaBiome.php index 4f37bb738..ec75afb21 100644 --- a/src/pocketmine/level/generator/normal/biome/TaigaBiome.php +++ b/src/pocketmine/level/generator/normal/biome/TaigaBiome.php @@ -50,4 +50,4 @@ class TaigaBiome extends SnowyBiome{ public function getName() : string{ return "Taiga"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/BigTree.php b/src/pocketmine/level/generator/object/BigTree.php index 341c68f07..2db9351e0 100644 --- a/src/pocketmine/level/generator/object/BigTree.php +++ b/src/pocketmine/level/generator/object/BigTree.php @@ -84,4 +84,4 @@ class BigTree extends Tree{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/BirchTree.php b/src/pocketmine/level/generator/object/BirchTree.php index 9cb4c3c06..18a3cc9f5 100644 --- a/src/pocketmine/level/generator/object/BirchTree.php +++ b/src/pocketmine/level/generator/object/BirchTree.php @@ -46,4 +46,4 @@ class BirchTree extends Tree{ } parent::placeObject($level, $x, $y, $z, $random); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/JungleTree.php b/src/pocketmine/level/generator/object/JungleTree.php index f1fd26804..a237e5303 100644 --- a/src/pocketmine/level/generator/object/JungleTree.php +++ b/src/pocketmine/level/generator/object/JungleTree.php @@ -34,4 +34,4 @@ class JungleTree extends Tree{ $this->type = Wood::JUNGLE; $this->treeHeight = 8; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/OakTree.php b/src/pocketmine/level/generator/object/OakTree.php index 5ed91b8a6..47865de7e 100644 --- a/src/pocketmine/level/generator/object/OakTree.php +++ b/src/pocketmine/level/generator/object/OakTree.php @@ -40,4 +40,4 @@ class OakTree extends Tree{ $this->treeHeight = $random->nextBoundedInt(3) + 4; parent::placeObject($level, $x, $y, $z, $random); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/Ore.php b/src/pocketmine/level/generator/object/Ore.php index e63373a83..5ca1ffa61 100644 --- a/src/pocketmine/level/generator/object/Ore.php +++ b/src/pocketmine/level/generator/object/Ore.php @@ -98,4 +98,4 @@ class Ore{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/OreType.php b/src/pocketmine/level/generator/object/OreType.php index 7b45ac676..84269d072 100644 --- a/src/pocketmine/level/generator/object/OreType.php +++ b/src/pocketmine/level/generator/object/OreType.php @@ -44,4 +44,4 @@ class OreType{ $this->maxHeight = $maxHeight; $this->minHeight = $minHeight; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/Pond.php b/src/pocketmine/level/generator/object/Pond.php index 91fc7675a..5ab43f4d4 100644 --- a/src/pocketmine/level/generator/object/Pond.php +++ b/src/pocketmine/level/generator/object/Pond.php @@ -45,4 +45,4 @@ class Pond{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/PopulatorObject.php b/src/pocketmine/level/generator/object/PopulatorObject.php index 8714c0d89..0b7b0def6 100644 --- a/src/pocketmine/level/generator/object/PopulatorObject.php +++ b/src/pocketmine/level/generator/object/PopulatorObject.php @@ -29,4 +29,4 @@ namespace pocketmine\level\generator\object; abstract class PopulatorObject{ -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/SpruceTree.php b/src/pocketmine/level/generator/object/SpruceTree.php index 7aecbd875..fdcb969ee 100644 --- a/src/pocketmine/level/generator/object/SpruceTree.php +++ b/src/pocketmine/level/generator/object/SpruceTree.php @@ -81,4 +81,4 @@ class SpruceTree extends Tree{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/TallGrass.php b/src/pocketmine/level/generator/object/TallGrass.php index 6e307277f..bb60682a3 100644 --- a/src/pocketmine/level/generator/object/TallGrass.php +++ b/src/pocketmine/level/generator/object/TallGrass.php @@ -50,4 +50,4 @@ class TallGrass{ } } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/object/Tree.php b/src/pocketmine/level/generator/object/Tree.php index 7ef2a20dd..e32b77635 100644 --- a/src/pocketmine/level/generator/object/Tree.php +++ b/src/pocketmine/level/generator/object/Tree.php @@ -129,4 +129,4 @@ abstract class Tree{ } } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/GroundCover.php b/src/pocketmine/level/generator/populator/GroundCover.php index 2a7c0edd0..02f6050fc 100644 --- a/src/pocketmine/level/generator/populator/GroundCover.php +++ b/src/pocketmine/level/generator/populator/GroundCover.php @@ -65,4 +65,4 @@ class GroundCover extends Populator{ } } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/Mineshaft.php b/src/pocketmine/level/generator/populator/Mineshaft.php index 9bec1206d..815affd0e 100644 --- a/src/pocketmine/level/generator/populator/Mineshaft.php +++ b/src/pocketmine/level/generator/populator/Mineshaft.php @@ -39,4 +39,4 @@ class Mineshaft extends Populator{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/Ore.php b/src/pocketmine/level/generator/populator/Ore.php index d306ffd3c..a5b472fa5 100644 --- a/src/pocketmine/level/generator/populator/Ore.php +++ b/src/pocketmine/level/generator/populator/Ore.php @@ -52,4 +52,4 @@ class Ore extends Populator{ public function setOreTypes(array $types){ $this->oreTypes = $types; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/Pond.php b/src/pocketmine/level/generator/populator/Pond.php index 417f89b93..c420cf65d 100644 --- a/src/pocketmine/level/generator/populator/Pond.php +++ b/src/pocketmine/level/generator/populator/Pond.php @@ -57,4 +57,4 @@ class Pond extends Populator{ public function setLavaSurfaceOdd(int $lavaSurfaceOdd){ $this->lavaSurfaceOdd = $lavaSurfaceOdd; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/Populator.php b/src/pocketmine/level/generator/populator/Populator.php index 17d2444e7..50fb35919 100644 --- a/src/pocketmine/level/generator/populator/Populator.php +++ b/src/pocketmine/level/generator/populator/Populator.php @@ -40,4 +40,4 @@ abstract class Populator{ * @return mixed */ abstract public function populate(ChunkManager $level, int $chunkX, int $chunkZ, Random $random); -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/TallGrass.php b/src/pocketmine/level/generator/populator/TallGrass.php index aba98de5b..2aab240e3 100644 --- a/src/pocketmine/level/generator/populator/TallGrass.php +++ b/src/pocketmine/level/generator/populator/TallGrass.php @@ -71,4 +71,4 @@ class TallGrass extends Populator{ return $y === 0 ? -1 : ++$y; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/generator/populator/Tree.php b/src/pocketmine/level/generator/populator/Tree.php index 28db1f65c..02c41d93d 100644 --- a/src/pocketmine/level/generator/populator/Tree.php +++ b/src/pocketmine/level/generator/populator/Tree.php @@ -75,4 +75,4 @@ class Tree extends Populator{ return ++$y; } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/light/BlockLightUpdate.php b/src/pocketmine/level/light/BlockLightUpdate.php index 1b7c27ed8..0f7020f01 100644 --- a/src/pocketmine/level/light/BlockLightUpdate.php +++ b/src/pocketmine/level/light/BlockLightUpdate.php @@ -32,4 +32,4 @@ class BlockLightUpdate extends LightUpdate{ public function setLight(int $x, int $y, int $z, int $level){ $this->subChunkHandler->currentSubChunk->setBlockLight($x & 0x0f, $y & 0x0f, $z & 0x0f, $level); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/light/LightUpdate.php b/src/pocketmine/level/light/LightUpdate.php index 12bf3cdd6..61778de0a 100644 --- a/src/pocketmine/level/light/LightUpdate.php +++ b/src/pocketmine/level/light/LightUpdate.php @@ -173,4 +173,4 @@ abstract class LightUpdate{ } } } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/light/SkyLightUpdate.php b/src/pocketmine/level/light/SkyLightUpdate.php index 692e5b346..d38b99771 100644 --- a/src/pocketmine/level/light/SkyLightUpdate.php +++ b/src/pocketmine/level/light/SkyLightUpdate.php @@ -32,4 +32,4 @@ class SkyLightUpdate extends LightUpdate{ public function setLight(int $x, int $y, int $z, int $level){ $this->subChunkHandler->currentSubChunk->setBlockSkyLight($x & 0x0f, $y & 0x0f, $z & 0x0f, $level); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/particle/HugeExplodeSeedParticle.php b/src/pocketmine/level/particle/HugeExplodeSeedParticle.php index 32edf6eea..13adce189 100644 --- a/src/pocketmine/level/particle/HugeExplodeSeedParticle.php +++ b/src/pocketmine/level/particle/HugeExplodeSeedParticle.php @@ -29,4 +29,4 @@ class HugeExplodeSeedParticle extends GenericParticle{ public function __construct(Vector3 $pos){ parent::__construct($pos, Particle::TYPE_HUGE_EXPLODE_SEED); } -} \ No newline at end of file +} diff --git a/src/pocketmine/level/utils/SubChunkIteratorManager.php b/src/pocketmine/level/utils/SubChunkIteratorManager.php index 91300e5dd..2d61f2bf2 100644 --- a/src/pocketmine/level/utils/SubChunkIteratorManager.php +++ b/src/pocketmine/level/utils/SubChunkIteratorManager.php @@ -75,4 +75,4 @@ class SubChunkIteratorManager{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/math/AxisAlignedBB.php b/src/pocketmine/math/AxisAlignedBB.php index 8bf49c775..a361a3fe7 100644 --- a/src/pocketmine/math/AxisAlignedBB.php +++ b/src/pocketmine/math/AxisAlignedBB.php @@ -432,4 +432,4 @@ class AxisAlignedBB{ public function __toString(){ return "AxisAlignedBB({$this->minX}, {$this->minY}, {$this->minZ}, {$this->maxX}, {$this->maxY}, {$this->maxZ})"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/math/Math.php b/src/pocketmine/math/Math.php index bc862d8e3..95a959fa0 100644 --- a/src/pocketmine/math/Math.php +++ b/src/pocketmine/math/Math.php @@ -38,4 +38,4 @@ abstract class Math{ $i = (int) ($n + 1); return $n >= $i ? $i : $i - 1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/math/Matrix.php b/src/pocketmine/math/Matrix.php index 0f4b1aee1..1fd444112 100644 --- a/src/pocketmine/math/Matrix.php +++ b/src/pocketmine/math/Matrix.php @@ -199,4 +199,4 @@ class Matrix implements \ArrayAccess{ return "Matrix({$this->rows}x{$this->columns};" . substr($s, 0, -1) . ")"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/math/Vector2.php b/src/pocketmine/math/Vector2.php index d6df17c23..b454d5ec6 100644 --- a/src/pocketmine/math/Vector2.php +++ b/src/pocketmine/math/Vector2.php @@ -129,4 +129,4 @@ class Vector2{ return "Vector2(x=" . $this->x . ",y=" . $this->y . ")"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/math/VectorMath.php b/src/pocketmine/math/VectorMath.php index e1ef0e44a..2d1abcd11 100644 --- a/src/pocketmine/math/VectorMath.php +++ b/src/pocketmine/math/VectorMath.php @@ -30,4 +30,4 @@ abstract class VectorMath{ return new Vector2(cos($azimuth), sin($azimuth)); } -} \ No newline at end of file +} diff --git a/src/pocketmine/metadata/BlockMetadataStore.php b/src/pocketmine/metadata/BlockMetadataStore.php index 202ef3dd6..494eb1022 100644 --- a/src/pocketmine/metadata/BlockMetadataStore.php +++ b/src/pocketmine/metadata/BlockMetadataStore.php @@ -86,4 +86,4 @@ class BlockMetadataStore extends MetadataStore{ throw new \InvalidStateException("Block does not belong to world " . $this->owningLevel->getName()); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/metadata/EntityMetadataStore.php b/src/pocketmine/metadata/EntityMetadataStore.php index 9f5c2c7f7..5e20206f3 100644 --- a/src/pocketmine/metadata/EntityMetadataStore.php +++ b/src/pocketmine/metadata/EntityMetadataStore.php @@ -34,4 +34,4 @@ class EntityMetadataStore extends MetadataStore{ return $entity->getId() . ":" . $metadataKey; } -} \ No newline at end of file +} diff --git a/src/pocketmine/metadata/LevelMetadataStore.php b/src/pocketmine/metadata/LevelMetadataStore.php index 0af293a7e..22e6d42a1 100644 --- a/src/pocketmine/metadata/LevelMetadataStore.php +++ b/src/pocketmine/metadata/LevelMetadataStore.php @@ -34,4 +34,4 @@ class LevelMetadataStore extends MetadataStore{ return strtolower($level->getName()) . ":" . $metadataKey; } -} \ No newline at end of file +} diff --git a/src/pocketmine/metadata/MetadataStore.php b/src/pocketmine/metadata/MetadataStore.php index 52f9925f2..fbfc68b8a 100644 --- a/src/pocketmine/metadata/MetadataStore.php +++ b/src/pocketmine/metadata/MetadataStore.php @@ -131,4 +131,4 @@ abstract class MetadataStore{ * @throws \InvalidArgumentException */ abstract public function disambiguate(Metadatable $subject, string $metadataKey) : string; -} \ No newline at end of file +} diff --git a/src/pocketmine/metadata/MetadataValue.php b/src/pocketmine/metadata/MetadataValue.php index b91a326fc..6d3ab6d85 100644 --- a/src/pocketmine/metadata/MetadataValue.php +++ b/src/pocketmine/metadata/MetadataValue.php @@ -52,4 +52,4 @@ abstract class MetadataValue{ * accessed. */ abstract public function invalidate(); -} \ No newline at end of file +} diff --git a/src/pocketmine/metadata/Metadatable.php b/src/pocketmine/metadata/Metadatable.php index c43b9ce8e..802071b03 100644 --- a/src/pocketmine/metadata/Metadatable.php +++ b/src/pocketmine/metadata/Metadatable.php @@ -64,4 +64,4 @@ interface Metadatable{ */ public function removeMetadata(string $metadataKey, Plugin $owningPlugin); -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/JsonNBTParser.php b/src/pocketmine/nbt/JsonNBTParser.php index 80f2721b8..34bdff16c 100644 --- a/src/pocketmine/nbt/JsonNBTParser.php +++ b/src/pocketmine/nbt/JsonNBTParser.php @@ -257,4 +257,4 @@ class JsonNBTParser{ return $key; } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/ByteArrayTag.php b/src/pocketmine/nbt/tag/ByteArrayTag.php index 641a490ef..8d4555d33 100644 --- a/src/pocketmine/nbt/tag/ByteArrayTag.php +++ b/src/pocketmine/nbt/tag/ByteArrayTag.php @@ -70,4 +70,4 @@ class ByteArrayTag extends NamedTag{ } parent::setValue($value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/ByteTag.php b/src/pocketmine/nbt/tag/ByteTag.php index 21cc6c213..aca900764 100644 --- a/src/pocketmine/nbt/tag/ByteTag.php +++ b/src/pocketmine/nbt/tag/ByteTag.php @@ -71,4 +71,4 @@ class ByteTag extends NamedTag{ } parent::setValue($value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/CompoundTag.php b/src/pocketmine/nbt/tag/CompoundTag.php index 59d7e89f4..1322e7472 100644 --- a/src/pocketmine/nbt/tag/CompoundTag.php +++ b/src/pocketmine/nbt/tag/CompoundTag.php @@ -463,4 +463,4 @@ class CompoundTag extends NamedTag implements \ArrayAccess{ } } } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/DoubleTag.php b/src/pocketmine/nbt/tag/DoubleTag.php index 7fa31e5d9..bc3f1cf57 100644 --- a/src/pocketmine/nbt/tag/DoubleTag.php +++ b/src/pocketmine/nbt/tag/DoubleTag.php @@ -69,4 +69,4 @@ class DoubleTag extends NamedTag{ } parent::setValue((float) $value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/EndTag.php b/src/pocketmine/nbt/tag/EndTag.php index 3fca03005..c063196d4 100644 --- a/src/pocketmine/nbt/tag/EndTag.php +++ b/src/pocketmine/nbt/tag/EndTag.php @@ -38,4 +38,4 @@ class EndTag extends Tag{ public function write(NBT $nbt, bool $network = false) : void{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/FloatTag.php b/src/pocketmine/nbt/tag/FloatTag.php index 9923f4fec..4855bd916 100644 --- a/src/pocketmine/nbt/tag/FloatTag.php +++ b/src/pocketmine/nbt/tag/FloatTag.php @@ -64,4 +64,4 @@ class FloatTag extends NamedTag{ } parent::setValue((float) $value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/IntTag.php b/src/pocketmine/nbt/tag/IntTag.php index da4e555db..093cd9342 100644 --- a/src/pocketmine/nbt/tag/IntTag.php +++ b/src/pocketmine/nbt/tag/IntTag.php @@ -69,4 +69,4 @@ class IntTag extends NamedTag{ } parent::setValue($value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/LongTag.php b/src/pocketmine/nbt/tag/LongTag.php index ce862caa3..5fe001327 100644 --- a/src/pocketmine/nbt/tag/LongTag.php +++ b/src/pocketmine/nbt/tag/LongTag.php @@ -69,4 +69,4 @@ class LongTag extends NamedTag{ } parent::setValue($value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/NamedTag.php b/src/pocketmine/nbt/tag/NamedTag.php index 4e5cda766..a3a22fb01 100644 --- a/src/pocketmine/nbt/tag/NamedTag.php +++ b/src/pocketmine/nbt/tag/NamedTag.php @@ -52,4 +52,4 @@ abstract class NamedTag extends Tag{ public function setName(string $name) : void{ $this->__name = $name; } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/ShortTag.php b/src/pocketmine/nbt/tag/ShortTag.php index 70338fbad..f3b5b5705 100644 --- a/src/pocketmine/nbt/tag/ShortTag.php +++ b/src/pocketmine/nbt/tag/ShortTag.php @@ -71,4 +71,4 @@ class ShortTag extends NamedTag{ } parent::setValue($value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/nbt/tag/StringTag.php b/src/pocketmine/nbt/tag/StringTag.php index e794c5f61..f0ad886b8 100644 --- a/src/pocketmine/nbt/tag/StringTag.php +++ b/src/pocketmine/nbt/tag/StringTag.php @@ -69,4 +69,4 @@ class StringTag extends NamedTag{ } parent::setValue($value); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/AdvancedSourceInterface.php b/src/pocketmine/network/AdvancedSourceInterface.php index cf553081e..3e58140f2 100644 --- a/src/pocketmine/network/AdvancedSourceInterface.php +++ b/src/pocketmine/network/AdvancedSourceInterface.php @@ -51,4 +51,4 @@ interface AdvancedSourceInterface extends SourceInterface{ */ public function sendRawPacket(string $address, int $port, string $payload); -} \ No newline at end of file +} diff --git a/src/pocketmine/network/SourceInterface.php b/src/pocketmine/network/SourceInterface.php index 8b5259a92..706ab5faf 100644 --- a/src/pocketmine/network/SourceInterface.php +++ b/src/pocketmine/network/SourceInterface.php @@ -73,4 +73,4 @@ interface SourceInterface{ public function emergencyShutdown(); -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/CachedEncapsulatedPacket.php b/src/pocketmine/network/mcpe/CachedEncapsulatedPacket.php index 94e3d5fdf..48a1c0eb0 100644 --- a/src/pocketmine/network/mcpe/CachedEncapsulatedPacket.php +++ b/src/pocketmine/network/mcpe/CachedEncapsulatedPacket.php @@ -32,4 +32,4 @@ class CachedEncapsulatedPacket extends EncapsulatedPacket{ public function toBinary($internal = false){ return $this->internalData ?? ($this->internalData = parent::toBinary($internal)); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/NetworkSession.php b/src/pocketmine/network/mcpe/NetworkSession.php index 85ac0e1f6..8a51e8562 100644 --- a/src/pocketmine/network/mcpe/NetworkSession.php +++ b/src/pocketmine/network/mcpe/NetworkSession.php @@ -554,4 +554,4 @@ abstract class NetworkSession{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter.php b/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter.php index 1eaa0f597..031c88068 100644 --- a/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter.php +++ b/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter.php @@ -243,4 +243,4 @@ class PlayerNetworkSessionAdapter extends NetworkSession{ public function handleServerSettingsRequest(ServerSettingsRequestPacket $packet) : bool{ return false; //TODO: GUI stuff } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/VerifyLoginTask.php b/src/pocketmine/network/mcpe/VerifyLoginTask.php index c0967afd7..6d06c3547 100644 --- a/src/pocketmine/network/mcpe/VerifyLoginTask.php +++ b/src/pocketmine/network/mcpe/VerifyLoginTask.php @@ -147,4 +147,4 @@ class VerifyLoginTask extends AsyncTask{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/AddBehaviorTreePacket.php b/src/pocketmine/network/mcpe/protocol/AddBehaviorTreePacket.php index 03c2057ec..946758bcb 100644 --- a/src/pocketmine/network/mcpe/protocol/AddBehaviorTreePacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddBehaviorTreePacket.php @@ -44,4 +44,4 @@ class AddBehaviorTreePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAddBehaviorTree($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php b/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php index 1c97c107f..1661b1b75 100644 --- a/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php @@ -61,4 +61,4 @@ class AddHangingEntityPacket extends DataPacket{ return $session->handleAddHangingEntity($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php b/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php index 72e5c5276..bf7387d47 100644 --- a/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php @@ -120,4 +120,4 @@ class AdventureSettingsPacket extends DataPacket{ return $session->handleAdventureSettings($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php b/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php index cdc729a25..6bb6cbb48 100644 --- a/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php @@ -338,4 +338,4 @@ class AvailableCommandsPacket extends DataPacket{ return $session->handleAvailableCommands($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/BatchPacket.php b/src/pocketmine/network/mcpe/protocol/BatchPacket.php index df66f3296..ba9116db7 100644 --- a/src/pocketmine/network/mcpe/protocol/BatchPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BatchPacket.php @@ -121,4 +121,4 @@ class BatchPacket extends DataPacket{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/BlockPickRequestPacket.php b/src/pocketmine/network/mcpe/protocol/BlockPickRequestPacket.php index 59021543a..8e3647565 100644 --- a/src/pocketmine/network/mcpe/protocol/BlockPickRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BlockPickRequestPacket.php @@ -58,4 +58,4 @@ class BlockPickRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleBlockPickRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/BookEditPacket.php b/src/pocketmine/network/mcpe/protocol/BookEditPacket.php index a0296a698..335720f1c 100644 --- a/src/pocketmine/network/mcpe/protocol/BookEditPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BookEditPacket.php @@ -112,4 +112,4 @@ class BookEditPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleBookEdit($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/BossEventPacket.php b/src/pocketmine/network/mcpe/protocol/BossEventPacket.php index ceabb60f1..a3d89b763 100644 --- a/src/pocketmine/network/mcpe/protocol/BossEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BossEventPacket.php @@ -130,4 +130,4 @@ class BossEventPacket extends DataPacket{ return $session->handleBossEvent($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/CameraPacket.php b/src/pocketmine/network/mcpe/protocol/CameraPacket.php index 19d11f804..ebee825cf 100644 --- a/src/pocketmine/network/mcpe/protocol/CameraPacket.php +++ b/src/pocketmine/network/mcpe/protocol/CameraPacket.php @@ -48,4 +48,4 @@ class CameraPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleCamera($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php b/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php index 5c6b0bac4..9e34db177 100644 --- a/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php @@ -55,4 +55,4 @@ class ChangeDimensionPacket extends DataPacket{ return $session->handleChangeDimension($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ClientboundMapItemDataPacket.php b/src/pocketmine/network/mcpe/protocol/ClientboundMapItemDataPacket.php index 1194e23a5..80d92e87b 100644 --- a/src/pocketmine/network/mcpe/protocol/ClientboundMapItemDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ClientboundMapItemDataPacket.php @@ -180,4 +180,4 @@ class ClientboundMapItemDataPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleClientboundMapItemData($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/CommandBlockUpdatePacket.php b/src/pocketmine/network/mcpe/protocol/CommandBlockUpdatePacket.php index a69c929d5..be810fbc1 100644 --- a/src/pocketmine/network/mcpe/protocol/CommandBlockUpdatePacket.php +++ b/src/pocketmine/network/mcpe/protocol/CommandBlockUpdatePacket.php @@ -102,4 +102,4 @@ class CommandBlockUpdatePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleCommandBlockUpdate($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/CommandOutputPacket.php b/src/pocketmine/network/mcpe/protocol/CommandOutputPacket.php index 648d3745a..8a61d4587 100644 --- a/src/pocketmine/network/mcpe/protocol/CommandOutputPacket.php +++ b/src/pocketmine/network/mcpe/protocol/CommandOutputPacket.php @@ -98,4 +98,4 @@ class CommandOutputPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleCommandOutput($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/CommandRequestPacket.php b/src/pocketmine/network/mcpe/protocol/CommandRequestPacket.php index dca827408..215908677 100644 --- a/src/pocketmine/network/mcpe/protocol/CommandRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/CommandRequestPacket.php @@ -53,4 +53,4 @@ class CommandRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleCommandRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ContainerClosePacket.php b/src/pocketmine/network/mcpe/protocol/ContainerClosePacket.php index 2a6766e9b..105de06ea 100644 --- a/src/pocketmine/network/mcpe/protocol/ContainerClosePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ContainerClosePacket.php @@ -45,4 +45,4 @@ class ContainerClosePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleContainerClose($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php b/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php index 9a6adbca7..6312897ac 100644 --- a/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php @@ -62,4 +62,4 @@ class ContainerOpenPacket extends DataPacket{ return $session->handleContainerOpen($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php b/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php index 0daef0a10..cce98e548 100644 --- a/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php @@ -64,4 +64,4 @@ class ContainerSetDataPacket extends DataPacket{ return $session->handleContainerSetData($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/EntityPickRequestPacket.php b/src/pocketmine/network/mcpe/protocol/EntityPickRequestPacket.php index 3f2709233..96b6c7b2e 100644 --- a/src/pocketmine/network/mcpe/protocol/EntityPickRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/EntityPickRequestPacket.php @@ -48,4 +48,4 @@ class EntityPickRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleEntityPickRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/EventPacket.php b/src/pocketmine/network/mcpe/protocol/EventPacket.php index 05544a7db..612f5ded7 100644 --- a/src/pocketmine/network/mcpe/protocol/EventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/EventPacket.php @@ -67,4 +67,4 @@ class EventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleEvent($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php b/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php index 0028fe2cd..dadc32956 100644 --- a/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php +++ b/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php @@ -45,4 +45,4 @@ class GameRulesChangedPacket extends DataPacket{ return $session->handleGameRulesChanged($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/GuiDataPickItemPacket.php b/src/pocketmine/network/mcpe/protocol/GuiDataPickItemPacket.php index f00699059..d9c1cf20e 100644 --- a/src/pocketmine/network/mcpe/protocol/GuiDataPickItemPacket.php +++ b/src/pocketmine/network/mcpe/protocol/GuiDataPickItemPacket.php @@ -44,4 +44,4 @@ class GuiDataPickItemPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleGuiDataPickItem($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php b/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php index f7ffa3d27..fac680dd0 100644 --- a/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php +++ b/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php @@ -46,4 +46,4 @@ class HurtArmorPacket extends DataPacket{ return $session->handleHurtArmor($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/InventoryContentPacket.php b/src/pocketmine/network/mcpe/protocol/InventoryContentPacket.php index 34e0e254a..76ba225fa 100644 --- a/src/pocketmine/network/mcpe/protocol/InventoryContentPacket.php +++ b/src/pocketmine/network/mcpe/protocol/InventoryContentPacket.php @@ -55,4 +55,4 @@ class InventoryContentPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleInventoryContent($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/InventorySlotPacket.php b/src/pocketmine/network/mcpe/protocol/InventorySlotPacket.php index 7e0c038d7..1973e690b 100644 --- a/src/pocketmine/network/mcpe/protocol/InventorySlotPacket.php +++ b/src/pocketmine/network/mcpe/protocol/InventorySlotPacket.php @@ -53,4 +53,4 @@ class InventorySlotPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleInventorySlot($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket.php b/src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket.php index c212c0376..1a732317b 100644 --- a/src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket.php @@ -148,4 +148,4 @@ class InventoryTransactionPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleInventoryTransaction($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php b/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php index 9e8a7a283..f8e3d44f2 100644 --- a/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php @@ -50,4 +50,4 @@ class ItemFrameDropItemPacket extends DataPacket{ return $session->handleItemFrameDropItem($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/LevelSoundEventPacket.php b/src/pocketmine/network/mcpe/protocol/LevelSoundEventPacket.php index 094c9462b..c2fd36650 100644 --- a/src/pocketmine/network/mcpe/protocol/LevelSoundEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/LevelSoundEventPacket.php @@ -232,4 +232,4 @@ class LevelSoundEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleLevelSoundEvent($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/LoginPacket.php b/src/pocketmine/network/mcpe/protocol/LoginPacket.php index 1140149c2..a96385c3b 100644 --- a/src/pocketmine/network/mcpe/protocol/LoginPacket.php +++ b/src/pocketmine/network/mcpe/protocol/LoginPacket.php @@ -140,4 +140,4 @@ class LoginPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleLogin($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/MapInfoRequestPacket.php b/src/pocketmine/network/mcpe/protocol/MapInfoRequestPacket.php index d40feba24..4590aac25 100644 --- a/src/pocketmine/network/mcpe/protocol/MapInfoRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/MapInfoRequestPacket.php @@ -46,4 +46,4 @@ class MapInfoRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleMapInfoRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ModalFormRequestPacket.php b/src/pocketmine/network/mcpe/protocol/ModalFormRequestPacket.php index a06c449a5..4a0bd2cb9 100644 --- a/src/pocketmine/network/mcpe/protocol/ModalFormRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ModalFormRequestPacket.php @@ -48,4 +48,4 @@ class ModalFormRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleModalFormRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket.php b/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket.php index b8bfb7ced..9303ec17d 100644 --- a/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket.php @@ -48,4 +48,4 @@ class ModalFormResponsePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleModalFormResponse($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/NpcRequestPacket.php b/src/pocketmine/network/mcpe/protocol/NpcRequestPacket.php index c495a7b84..479221c01 100644 --- a/src/pocketmine/network/mcpe/protocol/NpcRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/NpcRequestPacket.php @@ -56,4 +56,4 @@ class NpcRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleNpcRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/PacketPool.php b/src/pocketmine/network/mcpe/protocol/PacketPool.php index 8c0a84f7c..c1f61c488 100644 --- a/src/pocketmine/network/mcpe/protocol/PacketPool.php +++ b/src/pocketmine/network/mcpe/protocol/PacketPool.php @@ -166,4 +166,4 @@ class PacketPool{ return $pk; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/PhotoTransferPacket.php b/src/pocketmine/network/mcpe/protocol/PhotoTransferPacket.php index dbee373ce..8d42c3837 100644 --- a/src/pocketmine/network/mcpe/protocol/PhotoTransferPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PhotoTransferPacket.php @@ -52,4 +52,4 @@ class PhotoTransferPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePhotoTransfer($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/PlaySoundPacket.php b/src/pocketmine/network/mcpe/protocol/PlaySoundPacket.php index d2dc8d44a..b9ddb193e 100644 --- a/src/pocketmine/network/mcpe/protocol/PlaySoundPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlaySoundPacket.php @@ -65,4 +65,4 @@ class PlaySoundPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlaySound($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/PlayerHotbarPacket.php b/src/pocketmine/network/mcpe/protocol/PlayerHotbarPacket.php index 09c9e23d1..0aa4be7ff 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayerHotbarPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayerHotbarPacket.php @@ -66,4 +66,4 @@ class PlayerHotbarPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlayerHotbar($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php b/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php index 2008c858f..2fa531419 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayerSkinPacket.php @@ -71,4 +71,4 @@ class PlayerSkinPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlayerSkin($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/PurchaseReceiptPacket.php b/src/pocketmine/network/mcpe/protocol/PurchaseReceiptPacket.php index 24c49f9dd..bc989f0d5 100644 --- a/src/pocketmine/network/mcpe/protocol/PurchaseReceiptPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PurchaseReceiptPacket.php @@ -50,4 +50,4 @@ class PurchaseReceiptPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePurchaseReceipt($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePackChunkDataPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePackChunkDataPacket.php index 58337867a..c55f0a473 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePackChunkDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePackChunkDataPacket.php @@ -59,4 +59,4 @@ class ResourcePackChunkDataPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleResourcePackChunkData($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePackChunkRequestPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePackChunkRequestPacket.php index 59093935d..e09505796 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePackChunkRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePackChunkRequestPacket.php @@ -50,4 +50,4 @@ class ResourcePackChunkRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleResourcePackChunkRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php index ec520ab0a..62262c85e 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php @@ -63,4 +63,4 @@ class ResourcePackDataInfoPacket extends DataPacket{ return $session->handleResourcePackDataInfo($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePackStackPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePackStackPacket.php index 73b5d6b34..be604d5d1 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePackStackPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePackStackPacket.php @@ -80,4 +80,4 @@ class ResourcePackStackPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleResourcePackStack($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php index fff647d84..2af728cf4 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php @@ -85,4 +85,4 @@ class ResourcePacksInfoPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleResourcePacksInfo($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/RespawnPacket.php b/src/pocketmine/network/mcpe/protocol/RespawnPacket.php index 35c504431..d45493b67 100644 --- a/src/pocketmine/network/mcpe/protocol/RespawnPacket.php +++ b/src/pocketmine/network/mcpe/protocol/RespawnPacket.php @@ -47,4 +47,4 @@ class RespawnPacket extends DataPacket{ return $session->handleRespawn($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/RiderJumpPacket.php b/src/pocketmine/network/mcpe/protocol/RiderJumpPacket.php index 0e2d13b20..802ba1ccf 100644 --- a/src/pocketmine/network/mcpe/protocol/RiderJumpPacket.php +++ b/src/pocketmine/network/mcpe/protocol/RiderJumpPacket.php @@ -46,4 +46,4 @@ class RiderJumpPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleRiderJump($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ServerSettingsRequestPacket.php b/src/pocketmine/network/mcpe/protocol/ServerSettingsRequestPacket.php index e48716813..5404151cb 100644 --- a/src/pocketmine/network/mcpe/protocol/ServerSettingsRequestPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ServerSettingsRequestPacket.php @@ -41,4 +41,4 @@ class ServerSettingsRequestPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleServerSettingsRequest($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ServerSettingsResponsePacket.php b/src/pocketmine/network/mcpe/protocol/ServerSettingsResponsePacket.php index 96dac9691..e8f997901 100644 --- a/src/pocketmine/network/mcpe/protocol/ServerSettingsResponsePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ServerSettingsResponsePacket.php @@ -48,4 +48,4 @@ class ServerSettingsResponsePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleServerSettingsResponse($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ServerToClientHandshakePacket.php b/src/pocketmine/network/mcpe/protocol/ServerToClientHandshakePacket.php index 841bf0e2d..ee1f40152 100644 --- a/src/pocketmine/network/mcpe/protocol/ServerToClientHandshakePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ServerToClientHandshakePacket.php @@ -52,4 +52,4 @@ class ServerToClientHandshakePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleServerToClientHandshake($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php b/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php index b6a44e582..0750a025b 100644 --- a/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php @@ -46,4 +46,4 @@ class SetCommandsEnabledPacket extends DataPacket{ return $session->handleSetCommandsEnabled($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SetDefaultGameTypePacket.php b/src/pocketmine/network/mcpe/protocol/SetDefaultGameTypePacket.php index 87fe91841..3284704b7 100644 --- a/src/pocketmine/network/mcpe/protocol/SetDefaultGameTypePacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetDefaultGameTypePacket.php @@ -44,4 +44,4 @@ class SetDefaultGameTypePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetDefaultGameType($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php b/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php index 95cb36c3c..a9975b20c 100644 --- a/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php @@ -46,4 +46,4 @@ class SetDifficultyPacket extends DataPacket{ return $session->handleSetDifficulty($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php b/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php index 0ab3dc87c..aa2d5ea5d 100644 --- a/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php @@ -46,4 +46,4 @@ class SetHealthPacket extends DataPacket{ return $session->handleSetHealth($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SetLastHurtByPacket.php b/src/pocketmine/network/mcpe/protocol/SetLastHurtByPacket.php index 0b29e86ad..b29b9ac2d 100644 --- a/src/pocketmine/network/mcpe/protocol/SetLastHurtByPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetLastHurtByPacket.php @@ -44,4 +44,4 @@ class SetLastHurtByPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetLastHurtBy($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SetTitlePacket.php b/src/pocketmine/network/mcpe/protocol/SetTitlePacket.php index b5aef453c..6065eacdc 100644 --- a/src/pocketmine/network/mcpe/protocol/SetTitlePacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetTitlePacket.php @@ -69,4 +69,4 @@ class SetTitlePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetTitle($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ShowCreditsPacket.php b/src/pocketmine/network/mcpe/protocol/ShowCreditsPacket.php index 1260374bf..6cc5a7443 100644 --- a/src/pocketmine/network/mcpe/protocol/ShowCreditsPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ShowCreditsPacket.php @@ -53,4 +53,4 @@ class ShowCreditsPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleShowCredits($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php b/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php index 748e9a3de..54f8cc1de 100644 --- a/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ShowProfilePacket.php @@ -44,4 +44,4 @@ class ShowProfilePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleShowProfile($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/ShowStoreOfferPacket.php b/src/pocketmine/network/mcpe/protocol/ShowStoreOfferPacket.php index f7d706a27..92b392e95 100644 --- a/src/pocketmine/network/mcpe/protocol/ShowStoreOfferPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ShowStoreOfferPacket.php @@ -48,4 +48,4 @@ class ShowStoreOfferPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleShowStoreOffer($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SimpleEventPacket.php b/src/pocketmine/network/mcpe/protocol/SimpleEventPacket.php index 5c90c21af..cf091ff33 100644 --- a/src/pocketmine/network/mcpe/protocol/SimpleEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SimpleEventPacket.php @@ -44,4 +44,4 @@ class SimpleEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSimpleEvent($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SpawnExperienceOrbPacket.php b/src/pocketmine/network/mcpe/protocol/SpawnExperienceOrbPacket.php index 6ca906dca..31b2490fb 100644 --- a/src/pocketmine/network/mcpe/protocol/SpawnExperienceOrbPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SpawnExperienceOrbPacket.php @@ -50,4 +50,4 @@ class SpawnExperienceOrbPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSpawnExperienceOrb($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/StopSoundPacket.php b/src/pocketmine/network/mcpe/protocol/StopSoundPacket.php index 46a567f25..fc6dc5f3b 100644 --- a/src/pocketmine/network/mcpe/protocol/StopSoundPacket.php +++ b/src/pocketmine/network/mcpe/protocol/StopSoundPacket.php @@ -50,4 +50,4 @@ class StopSoundPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleStopSound($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/StructureBlockUpdatePacket.php b/src/pocketmine/network/mcpe/protocol/StructureBlockUpdatePacket.php index 1c5f212ab..ef4febf1f 100644 --- a/src/pocketmine/network/mcpe/protocol/StructureBlockUpdatePacket.php +++ b/src/pocketmine/network/mcpe/protocol/StructureBlockUpdatePacket.php @@ -41,4 +41,4 @@ class StructureBlockUpdatePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleStructureBlockUpdate($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/SubClientLoginPacket.php b/src/pocketmine/network/mcpe/protocol/SubClientLoginPacket.php index 00516837e..f699e0c6c 100644 --- a/src/pocketmine/network/mcpe/protocol/SubClientLoginPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SubClientLoginPacket.php @@ -44,4 +44,4 @@ class SubClientLoginPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSubClientLogin($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/TransferPacket.php b/src/pocketmine/network/mcpe/protocol/TransferPacket.php index 4c27c6009..bd1cfe369 100644 --- a/src/pocketmine/network/mcpe/protocol/TransferPacket.php +++ b/src/pocketmine/network/mcpe/protocol/TransferPacket.php @@ -49,4 +49,4 @@ class TransferPacket extends DataPacket{ return $session->handleTransfer($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/UnknownPacket.php b/src/pocketmine/network/mcpe/protocol/UnknownPacket.php index 25bf8d3d4..f27ef616e 100644 --- a/src/pocketmine/network/mcpe/protocol/UnknownPacket.php +++ b/src/pocketmine/network/mcpe/protocol/UnknownPacket.php @@ -56,4 +56,4 @@ class UnknownPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return false; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php b/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php index 76067e70f..009716119 100644 --- a/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php +++ b/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php @@ -71,4 +71,4 @@ class UpdateBlockPacket extends DataPacket{ return $session->handleUpdateBlock($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/UpdateEquipPacket.php b/src/pocketmine/network/mcpe/protocol/UpdateEquipPacket.php index ae6c9f0dd..b32d3eca7 100644 --- a/src/pocketmine/network/mcpe/protocol/UpdateEquipPacket.php +++ b/src/pocketmine/network/mcpe/protocol/UpdateEquipPacket.php @@ -60,4 +60,4 @@ class UpdateEquipPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleUpdateEquip($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/UpdateTradePacket.php b/src/pocketmine/network/mcpe/protocol/UpdateTradePacket.php index 2cb6a0f08..08b5de26e 100644 --- a/src/pocketmine/network/mcpe/protocol/UpdateTradePacket.php +++ b/src/pocketmine/network/mcpe/protocol/UpdateTradePacket.php @@ -81,4 +81,4 @@ class UpdateTradePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleUpdateTrade($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/WSConnectPacket.php b/src/pocketmine/network/mcpe/protocol/WSConnectPacket.php index b9ade6a03..e4e7fe557 100644 --- a/src/pocketmine/network/mcpe/protocol/WSConnectPacket.php +++ b/src/pocketmine/network/mcpe/protocol/WSConnectPacket.php @@ -44,4 +44,4 @@ class WSConnectPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleWSConnect($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/CommandData.php b/src/pocketmine/network/mcpe/protocol/types/CommandData.php index c7ff3be31..cf98b90fc 100644 --- a/src/pocketmine/network/mcpe/protocol/types/CommandData.php +++ b/src/pocketmine/network/mcpe/protocol/types/CommandData.php @@ -37,4 +37,4 @@ class CommandData{ /** @var CommandParameter[][] */ public $overloads = []; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/CommandEnum.php b/src/pocketmine/network/mcpe/protocol/types/CommandEnum.php index 7b9cb5625..e6621c7a4 100644 --- a/src/pocketmine/network/mcpe/protocol/types/CommandEnum.php +++ b/src/pocketmine/network/mcpe/protocol/types/CommandEnum.php @@ -29,4 +29,4 @@ class CommandEnum{ /** @var string[] */ public $enumValues = []; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/CommandOriginData.php b/src/pocketmine/network/mcpe/protocol/types/CommandOriginData.php index 40f666f57..ca35b39f7 100644 --- a/src/pocketmine/network/mcpe/protocol/types/CommandOriginData.php +++ b/src/pocketmine/network/mcpe/protocol/types/CommandOriginData.php @@ -49,4 +49,4 @@ class CommandOriginData{ /** @var int */ public $varlong1; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/CommandOutputMessage.php b/src/pocketmine/network/mcpe/protocol/types/CommandOutputMessage.php index 90ccc681e..a2434f990 100644 --- a/src/pocketmine/network/mcpe/protocol/types/CommandOutputMessage.php +++ b/src/pocketmine/network/mcpe/protocol/types/CommandOutputMessage.php @@ -31,4 +31,4 @@ class CommandOutputMessage{ /** @var string[] */ public $parameters = []; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/CommandParameter.php b/src/pocketmine/network/mcpe/protocol/types/CommandParameter.php index fb11d5cd0..b262bd1da 100644 --- a/src/pocketmine/network/mcpe/protocol/types/CommandParameter.php +++ b/src/pocketmine/network/mcpe/protocol/types/CommandParameter.php @@ -34,4 +34,4 @@ class CommandParameter{ public $enum; /** @var string|null */ public $postfix; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/ContainerIds.php b/src/pocketmine/network/mcpe/protocol/types/ContainerIds.php index 198c06c7a..3b55065e5 100644 --- a/src/pocketmine/network/mcpe/protocol/types/ContainerIds.php +++ b/src/pocketmine/network/mcpe/protocol/types/ContainerIds.php @@ -36,4 +36,4 @@ interface ContainerIds{ public const FIXED_INVENTORY = 123; public const CURSOR = 124; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/DimensionIds.php b/src/pocketmine/network/mcpe/protocol/types/DimensionIds.php index b160e497d..2777a0328 100644 --- a/src/pocketmine/network/mcpe/protocol/types/DimensionIds.php +++ b/src/pocketmine/network/mcpe/protocol/types/DimensionIds.php @@ -29,4 +29,4 @@ interface DimensionIds{ public const NETHER = 1; public const THE_END = 2; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/EntityLink.php b/src/pocketmine/network/mcpe/protocol/types/EntityLink.php index 191acadba..db4228a41 100644 --- a/src/pocketmine/network/mcpe/protocol/types/EntityLink.php +++ b/src/pocketmine/network/mcpe/protocol/types/EntityLink.php @@ -40,4 +40,4 @@ class EntityLink{ $this->type = $type; $this->bool1 = $bool1; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php b/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php index 27ed44d02..08fefb82d 100644 --- a/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php +++ b/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php @@ -222,4 +222,4 @@ class NetworkInventoryAction{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php b/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php index d92de795e..fd8d4bfb5 100644 --- a/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php +++ b/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php @@ -57,4 +57,4 @@ class PlayerListEntry{ return $entry; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/PlayerPermissions.php b/src/pocketmine/network/mcpe/protocol/types/PlayerPermissions.php index 20f6bdc9c..6c9cd376d 100644 --- a/src/pocketmine/network/mcpe/protocol/types/PlayerPermissions.php +++ b/src/pocketmine/network/mcpe/protocol/types/PlayerPermissions.php @@ -30,4 +30,4 @@ interface PlayerPermissions{ public const MEMBER = 1; public const VISITOR = 0; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/mcpe/protocol/types/WindowTypes.php b/src/pocketmine/network/mcpe/protocol/types/WindowTypes.php index 70f4cffe7..23a47ff8d 100644 --- a/src/pocketmine/network/mcpe/protocol/types/WindowTypes.php +++ b/src/pocketmine/network/mcpe/protocol/types/WindowTypes.php @@ -47,4 +47,4 @@ interface WindowTypes{ public const COMMAND_BLOCK = 16; public const JUKEBOX = 17; -} \ No newline at end of file +} diff --git a/src/pocketmine/network/rcon/RCONInstance.php b/src/pocketmine/network/rcon/RCONInstance.php index 470bdf68e..8d16ddee3 100644 --- a/src/pocketmine/network/rcon/RCONInstance.php +++ b/src/pocketmine/network/rcon/RCONInstance.php @@ -200,4 +200,4 @@ class RCONInstance extends Thread{ public function getThreadName() : string{ return "RCON"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/network/upnp/UPnP.php b/src/pocketmine/network/upnp/UPnP.php index 9ac30e3d8..8d4fa7855 100644 --- a/src/pocketmine/network/upnp/UPnP.php +++ b/src/pocketmine/network/upnp/UPnP.php @@ -78,4 +78,4 @@ abstract class UPnP{ return true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/BanEntry.php b/src/pocketmine/permission/BanEntry.php index 50a7ca01c..835a9def7 100644 --- a/src/pocketmine/permission/BanEntry.php +++ b/src/pocketmine/permission/BanEntry.php @@ -145,4 +145,4 @@ class BanEntry{ return $entry; } } -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/BanList.php b/src/pocketmine/permission/BanList.php index ab0a12a27..b4d3fa8ab 100644 --- a/src/pocketmine/permission/BanList.php +++ b/src/pocketmine/permission/BanList.php @@ -169,4 +169,4 @@ class BanList{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/Permissible.php b/src/pocketmine/permission/Permissible.php index c977182d3..517750cac 100644 --- a/src/pocketmine/permission/Permissible.php +++ b/src/pocketmine/permission/Permissible.php @@ -72,4 +72,4 @@ interface Permissible extends ServerOperator{ */ public function getEffectivePermissions() : array; -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/Permission.php b/src/pocketmine/permission/Permission.php index 9b57861e1..153a55e75 100644 --- a/src/pocketmine/permission/Permission.php +++ b/src/pocketmine/permission/Permission.php @@ -256,4 +256,4 @@ class Permission{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/PermissionAttachment.php b/src/pocketmine/permission/PermissionAttachment.php index 48cdee88e..1d4693c18 100644 --- a/src/pocketmine/permission/PermissionAttachment.php +++ b/src/pocketmine/permission/PermissionAttachment.php @@ -149,4 +149,4 @@ class PermissionAttachment{ public function remove(){ $this->permissible->removeAttachment($this); } -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/PermissionAttachmentInfo.php b/src/pocketmine/permission/PermissionAttachmentInfo.php index 4eee81d2c..198f21bbf 100644 --- a/src/pocketmine/permission/PermissionAttachmentInfo.php +++ b/src/pocketmine/permission/PermissionAttachmentInfo.php @@ -79,4 +79,4 @@ class PermissionAttachmentInfo{ public function getValue() : bool{ return $this->value; } -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/PermissionRemovedExecutor.php b/src/pocketmine/permission/PermissionRemovedExecutor.php index e6e3f811a..3eb559883 100644 --- a/src/pocketmine/permission/PermissionRemovedExecutor.php +++ b/src/pocketmine/permission/PermissionRemovedExecutor.php @@ -32,4 +32,4 @@ interface PermissionRemovedExecutor{ * @return void */ public function attachmentRemoved(PermissionAttachment $attachment); -} \ No newline at end of file +} diff --git a/src/pocketmine/permission/ServerOperator.php b/src/pocketmine/permission/ServerOperator.php index 4147f9658..a31f67d00 100644 --- a/src/pocketmine/permission/ServerOperator.php +++ b/src/pocketmine/permission/ServerOperator.php @@ -38,4 +38,4 @@ interface ServerOperator{ * @param bool $value */ public function setOp(bool $value); -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/EventExecutor.php b/src/pocketmine/plugin/EventExecutor.php index 01e7ad211..f7697a300 100644 --- a/src/pocketmine/plugin/EventExecutor.php +++ b/src/pocketmine/plugin/EventExecutor.php @@ -35,4 +35,4 @@ interface EventExecutor{ * @return void */ public function execute(Listener $listener, Event $event); -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/MethodEventExecutor.php b/src/pocketmine/plugin/MethodEventExecutor.php index d69a043d1..aeeb01269 100644 --- a/src/pocketmine/plugin/MethodEventExecutor.php +++ b/src/pocketmine/plugin/MethodEventExecutor.php @@ -41,4 +41,4 @@ class MethodEventExecutor implements EventExecutor{ public function getMethod(){ return $this->method; } -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/PharPluginLoader.php b/src/pocketmine/plugin/PharPluginLoader.php index c8358b15c..488718e6d 100644 --- a/src/pocketmine/plugin/PharPluginLoader.php +++ b/src/pocketmine/plugin/PharPluginLoader.php @@ -137,4 +137,4 @@ class PharPluginLoader implements PluginLoader{ $plugin->setEnabled(false); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/PluginException.php b/src/pocketmine/plugin/PluginException.php index b7338495a..c0a3548d1 100644 --- a/src/pocketmine/plugin/PluginException.php +++ b/src/pocketmine/plugin/PluginException.php @@ -27,4 +27,4 @@ use pocketmine\utils\ServerException; class PluginException extends ServerException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/PluginLoadOrder.php b/src/pocketmine/plugin/PluginLoadOrder.php index 410f21d63..1a44ed701 100644 --- a/src/pocketmine/plugin/PluginLoadOrder.php +++ b/src/pocketmine/plugin/PluginLoadOrder.php @@ -34,4 +34,4 @@ abstract class PluginLoadOrder{ * The plugin will be loaded after the first world has been loaded/created. */ public const POSTWORLD = 1; -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/PluginLoader.php b/src/pocketmine/plugin/PluginLoader.php index 7bc83dbf6..1d219ec48 100644 --- a/src/pocketmine/plugin/PluginLoader.php +++ b/src/pocketmine/plugin/PluginLoader.php @@ -68,4 +68,4 @@ interface PluginLoader{ public function disablePlugin(Plugin $plugin); -} \ No newline at end of file +} diff --git a/src/pocketmine/plugin/RegisteredListener.php b/src/pocketmine/plugin/RegisteredListener.php index 5b2962ef0..0945b867e 100644 --- a/src/pocketmine/plugin/RegisteredListener.php +++ b/src/pocketmine/plugin/RegisteredListener.php @@ -109,4 +109,4 @@ class RegisteredListener{ public function isIgnoringCancelled() : bool{ return $this->ignoreCancelled === true; } -} \ No newline at end of file +} diff --git a/src/pocketmine/resourcepacks/ResourcePack.php b/src/pocketmine/resourcepacks/ResourcePack.php index 15865cf18..06c3b6ce5 100644 --- a/src/pocketmine/resourcepacks/ResourcePack.php +++ b/src/pocketmine/resourcepacks/ResourcePack.php @@ -75,4 +75,4 @@ interface ResourcePack{ * @return string byte-array */ public function getPackChunk(int $start, int $length) : string; -} \ No newline at end of file +} diff --git a/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php b/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php index 018a0adee..3e196e176 100644 --- a/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php +++ b/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php @@ -46,4 +46,4 @@ class ResourcePackInfoEntry{ return $this->packSize; } -} \ No newline at end of file +} diff --git a/src/pocketmine/resourcepacks/ResourcePackManager.php b/src/pocketmine/resourcepacks/ResourcePackManager.php index df78a36ac..a0844649e 100644 --- a/src/pocketmine/resourcepacks/ResourcePackManager.php +++ b/src/pocketmine/resourcepacks/ResourcePackManager.php @@ -142,4 +142,4 @@ class ResourcePackManager{ public function getPackIdList() : array{ return array_keys($this->uuidList); } -} \ No newline at end of file +} diff --git a/src/pocketmine/resourcepacks/ZippedResourcePack.php b/src/pocketmine/resourcepacks/ZippedResourcePack.php index 639f4a7ad..dd7aeed76 100644 --- a/src/pocketmine/resourcepacks/ZippedResourcePack.php +++ b/src/pocketmine/resourcepacks/ZippedResourcePack.php @@ -133,4 +133,4 @@ class ZippedResourcePack implements ResourcePack{ } return fread($this->fileResource, $length); } -} \ No newline at end of file +} diff --git a/src/pocketmine/scheduler/DumpWorkerMemoryTask.php b/src/pocketmine/scheduler/DumpWorkerMemoryTask.php index 17cd5fc8b..e3b44c24b 100644 --- a/src/pocketmine/scheduler/DumpWorkerMemoryTask.php +++ b/src/pocketmine/scheduler/DumpWorkerMemoryTask.php @@ -58,4 +58,4 @@ class DumpWorkerMemoryTask extends AsyncTask{ $this->maxStringSize ); } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/Banner.php b/src/pocketmine/tile/Banner.php index 3db9b3c12..031fabd3d 100644 --- a/src/pocketmine/tile/Banner.php +++ b/src/pocketmine/tile/Banner.php @@ -301,4 +301,4 @@ class Banner extends Spawnable implements Nameable{ public function getDefaultName() : string{ return "Banner"; } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/Bed.php b/src/pocketmine/tile/Bed.php index dade69d08..58c1d57a5 100644 --- a/src/pocketmine/tile/Bed.php +++ b/src/pocketmine/tile/Bed.php @@ -57,4 +57,4 @@ class Bed extends Spawnable{ protected static function createAdditionalNBT(CompoundTag $nbt, Vector3 $pos, ?int $face = null, ?Item $item = null, ?Player $player = null) : void{ $nbt->setByte(self::TAG_COLOR, $item !== null ? $item->getDamage() : 14); //default red } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/ContainerTrait.php b/src/pocketmine/tile/ContainerTrait.php index 5ad11c9d3..69372df56 100644 --- a/src/pocketmine/tile/ContainerTrait.php +++ b/src/pocketmine/tile/ContainerTrait.php @@ -132,4 +132,4 @@ trait ContainerTrait{ $this->setItem($i, $inventory->getItem($i)); } } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/EnderChest.php b/src/pocketmine/tile/EnderChest.php index fc8ac5a40..1895c1c10 100644 --- a/src/pocketmine/tile/EnderChest.php +++ b/src/pocketmine/tile/EnderChest.php @@ -31,4 +31,4 @@ class EnderChest extends Spawnable{ } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/FlowerPot.php b/src/pocketmine/tile/FlowerPot.php index b91af1b97..9cdea6a09 100644 --- a/src/pocketmine/tile/FlowerPot.php +++ b/src/pocketmine/tile/FlowerPot.php @@ -97,4 +97,4 @@ class FlowerPot extends Spawnable{ $nbt->setShort(self::TAG_ITEM, 0); $nbt->setInt(self::TAG_ITEM_DATA, 0); } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/ItemFrame.php b/src/pocketmine/tile/ItemFrame.php index db1439607..a2cec49ff 100644 --- a/src/pocketmine/tile/ItemFrame.php +++ b/src/pocketmine/tile/ItemFrame.php @@ -102,4 +102,4 @@ class ItemFrame extends Spawnable{ $nbt->setFloat(self::TAG_ITEM_DROP_CHANCE, 1.0); $nbt->setByte(self::TAG_ITEM_ROTATION, 0); } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/NameableTrait.php b/src/pocketmine/tile/NameableTrait.php index def131c9e..5b584d029 100644 --- a/src/pocketmine/tile/NameableTrait.php +++ b/src/pocketmine/tile/NameableTrait.php @@ -67,4 +67,4 @@ trait NameableTrait{ public function hasName() : bool{ return $this->getNBT()->hasTag("CustomName"); } -} \ No newline at end of file +} diff --git a/src/pocketmine/tile/Skull.php b/src/pocketmine/tile/Skull.php index 6fb02425d..68edd7579 100644 --- a/src/pocketmine/tile/Skull.php +++ b/src/pocketmine/tile/Skull.php @@ -76,4 +76,4 @@ class Skull extends Spawnable{ } $nbt->setByte("Rot", $rot); } -} \ No newline at end of file +} diff --git a/src/pocketmine/updater/AutoUpdater.php b/src/pocketmine/updater/AutoUpdater.php index d611f1852..a2a20e786 100644 --- a/src/pocketmine/updater/AutoUpdater.php +++ b/src/pocketmine/updater/AutoUpdater.php @@ -192,4 +192,4 @@ class AutoUpdater{ public function getEndpoint() : string{ return $this->endpoint; } -} \ No newline at end of file +} diff --git a/src/pocketmine/updater/UpdateCheckTask.php b/src/pocketmine/updater/UpdateCheckTask.php index 99ef55874..69c46270d 100644 --- a/src/pocketmine/updater/UpdateCheckTask.php +++ b/src/pocketmine/updater/UpdateCheckTask.php @@ -84,4 +84,4 @@ class UpdateCheckTask extends AsyncTask{ } } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/BlockIterator.php b/src/pocketmine/utils/BlockIterator.php index 1472d5891..d5174ba2a 100644 --- a/src/pocketmine/utils/BlockIterator.php +++ b/src/pocketmine/utils/BlockIterator.php @@ -301,4 +301,4 @@ class BlockIterator implements \Iterator{ $this->currentBlock = 0; } } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/Color.php b/src/pocketmine/utils/Color.php index f54eb5a40..fba8da4ae 100644 --- a/src/pocketmine/utils/Color.php +++ b/src/pocketmine/utils/Color.php @@ -181,4 +181,4 @@ class Color{ public static function fromABGR(int $code){ return new Color($code & 0xff, ($code >> 8) & 0xff, ($code >> 16) & 0xff, ($code >> 24) & 0xff); } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/Random.php b/src/pocketmine/utils/Random.php index 8b863121a..69d225828 100644 --- a/src/pocketmine/utils/Random.php +++ b/src/pocketmine/utils/Random.php @@ -151,4 +151,4 @@ class Random{ return $this->nextInt() % $bound; } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/ReversePriorityQueue.php b/src/pocketmine/utils/ReversePriorityQueue.php index 59e0e0c4f..0c1aafd2c 100644 --- a/src/pocketmine/utils/ReversePriorityQueue.php +++ b/src/pocketmine/utils/ReversePriorityQueue.php @@ -28,4 +28,4 @@ class ReversePriorityQueue extends \SplPriorityQueue{ public function compare($priority1, $priority2){ return (int) -($priority1 - $priority2); } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/ServerException.php b/src/pocketmine/utils/ServerException.php index e526b29c4..4a81a3674 100644 --- a/src/pocketmine/utils/ServerException.php +++ b/src/pocketmine/utils/ServerException.php @@ -25,4 +25,4 @@ namespace pocketmine\utils; class ServerException extends \RuntimeException{ -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/Terminal.php b/src/pocketmine/utils/Terminal.php index 0b53c2ef3..c47257886 100644 --- a/src/pocketmine/utils/Terminal.php +++ b/src/pocketmine/utils/Terminal.php @@ -157,4 +157,4 @@ abstract class Terminal{ //TODO: iOS } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/UUID.php b/src/pocketmine/utils/UUID.php index 23c1f38eb..5f4c75ad6 100644 --- a/src/pocketmine/utils/UUID.php +++ b/src/pocketmine/utils/UUID.php @@ -111,4 +111,4 @@ class UUID{ public function getParts() : array{ return $this->parts; } -} \ No newline at end of file +} diff --git a/src/pocketmine/utils/VersionString.php b/src/pocketmine/utils/VersionString.php index e7f6f7c2b..87f993299 100644 --- a/src/pocketmine/utils/VersionString.php +++ b/src/pocketmine/utils/VersionString.php @@ -126,4 +126,4 @@ class VersionString{ return 0; //Same version } } -} \ No newline at end of file +} diff --git a/src/pocketmine/wizard/SetupWizard.php b/src/pocketmine/wizard/SetupWizard.php index e4ed09d19..ea102bb7a 100644 --- a/src/pocketmine/wizard/SetupWizard.php +++ b/src/pocketmine/wizard/SetupWizard.php @@ -260,4 +260,4 @@ LICENSE; } -} \ No newline at end of file +}