diff --git a/src/pocketmine/Achievement.php b/src/pocketmine/Achievement.php index b6b401605..41049f4c5 100644 --- a/src/pocketmine/Achievement.php +++ b/src/pocketmine/Achievement.php @@ -147,6 +147,4 @@ abstract class Achievement{ return false; } - - } diff --git a/src/pocketmine/CrashDump.php b/src/pocketmine/CrashDump.php index 764207ec2..3f2b7232b 100644 --- a/src/pocketmine/CrashDump.php +++ b/src/pocketmine/CrashDump.php @@ -258,5 +258,4 @@ class CrashDump{ public function add($str){ fwrite($this->fp, $str); } - } diff --git a/src/pocketmine/OfflinePlayer.php b/src/pocketmine/OfflinePlayer.php index 2d9639f50..fe11144a6 100644 --- a/src/pocketmine/OfflinePlayer.php +++ b/src/pocketmine/OfflinePlayer.php @@ -134,6 +134,4 @@ class OfflinePlayer implements IPlayer, Metadatable{ public function removeMetadata(string $metadataKey, Plugin $owningPlugin){ $this->server->getPlayerMetadata()->removeMetadata($this, $metadataKey, $owningPlugin); } - - } diff --git a/src/pocketmine/block/Air.php b/src/pocketmine/block/Air.php index 8ce2a79cb..b953eb906 100644 --- a/src/pocketmine/block/Air.php +++ b/src/pocketmine/block/Air.php @@ -81,5 +81,4 @@ class Air extends Transparent{ public function getBlastResistance() : float{ return 0; } - } diff --git a/src/pocketmine/block/Bedrock.php b/src/pocketmine/block/Bedrock.php index f59c73798..beb5ceac1 100644 --- a/src/pocketmine/block/Bedrock.php +++ b/src/pocketmine/block/Bedrock.php @@ -48,5 +48,4 @@ class Bedrock extends Solid{ public function isBreakable(Item $item) : bool{ return false; } - } diff --git a/src/pocketmine/block/BrickStairs.php b/src/pocketmine/block/BrickStairs.php index fb3fb27e1..4e305e955 100644 --- a/src/pocketmine/block/BrickStairs.php +++ b/src/pocketmine/block/BrickStairs.php @@ -52,5 +52,4 @@ class BrickStairs extends Stair{ public function getName() : string{ return "Brick Stairs"; } - } diff --git a/src/pocketmine/block/CobblestoneStairs.php b/src/pocketmine/block/CobblestoneStairs.php index d8db4d40c..06357dea1 100644 --- a/src/pocketmine/block/CobblestoneStairs.php +++ b/src/pocketmine/block/CobblestoneStairs.php @@ -48,5 +48,4 @@ class CobblestoneStairs extends Stair{ public function getName() : string{ return "Cobblestone Stairs"; } - } diff --git a/src/pocketmine/block/CobblestoneWall.php b/src/pocketmine/block/CobblestoneWall.php index f051c438e..1e9e611ee 100644 --- a/src/pocketmine/block/CobblestoneWall.php +++ b/src/pocketmine/block/CobblestoneWall.php @@ -90,5 +90,4 @@ class CobblestoneWall extends Transparent{ public function canConnect(Block $block){ return $block instanceof static or $block instanceof FenceGate or ($block->isSolid() and !$block->isTransparent()); } - } diff --git a/src/pocketmine/block/DoubleStoneSlab2.php b/src/pocketmine/block/DoubleStoneSlab2.php index 713ffa08a..49fe47ad7 100644 --- a/src/pocketmine/block/DoubleStoneSlab2.php +++ b/src/pocketmine/block/DoubleStoneSlab2.php @@ -30,5 +30,4 @@ class DoubleStoneSlab2 extends DoubleStoneSlab{ public function getSlabId() : int{ return self::STONE_SLAB2; } - } diff --git a/src/pocketmine/block/EnderChest.php b/src/pocketmine/block/EnderChest.php index 455449386..ea5afb257 100644 --- a/src/pocketmine/block/EnderChest.php +++ b/src/pocketmine/block/EnderChest.php @@ -106,5 +106,4 @@ class EnderChest extends Chest{ public function getFuelTime() : int{ return 0; } - } diff --git a/src/pocketmine/block/Fence.php b/src/pocketmine/block/Fence.php index 22c635f5b..1e579c1eb 100644 --- a/src/pocketmine/block/Fence.php +++ b/src/pocketmine/block/Fence.php @@ -105,5 +105,4 @@ abstract class Fence extends Transparent{ public function canConnect(Block $block){ return $block instanceof static or $block instanceof FenceGate or ($block->isSolid() and !$block->isTransparent()); } - } diff --git a/src/pocketmine/block/Gravel.php b/src/pocketmine/block/Gravel.php index f4e0b72b1..5aced70ce 100644 --- a/src/pocketmine/block/Gravel.php +++ b/src/pocketmine/block/Gravel.php @@ -55,5 +55,4 @@ class Gravel extends Fallable{ return parent::getDropsForCompatibleTool($item); } - } diff --git a/src/pocketmine/block/Lava.php b/src/pocketmine/block/Lava.php index a1759b83b..057ad42f4 100644 --- a/src/pocketmine/block/Lava.php +++ b/src/pocketmine/block/Lava.php @@ -121,5 +121,4 @@ class Lava extends Liquid{ return $ret; } - } diff --git a/src/pocketmine/block/NetherBrickStairs.php b/src/pocketmine/block/NetherBrickStairs.php index 8a2771a9c..270256929 100644 --- a/src/pocketmine/block/NetherBrickStairs.php +++ b/src/pocketmine/block/NetherBrickStairs.php @@ -48,5 +48,4 @@ class NetherBrickStairs extends Stair{ public function getToolHarvestLevel() : int{ return TieredTool::TIER_WOODEN; } - } diff --git a/src/pocketmine/block/NetherReactor.php b/src/pocketmine/block/NetherReactor.php index b0a927884..bf3f924fb 100644 --- a/src/pocketmine/block/NetherReactor.php +++ b/src/pocketmine/block/NetherReactor.php @@ -61,5 +61,4 @@ class NetherReactor extends Solid{ ItemFactory::get(Item::DIAMOND, 0, 3) ]; } - } diff --git a/src/pocketmine/block/PackedIce.php b/src/pocketmine/block/PackedIce.php index a9748adeb..48eb08667 100644 --- a/src/pocketmine/block/PackedIce.php +++ b/src/pocketmine/block/PackedIce.php @@ -46,5 +46,4 @@ class PackedIce extends Solid{ public function getToolType() : int{ return BlockToolType::TYPE_PICKAXE; } - } diff --git a/src/pocketmine/block/QuartzStairs.php b/src/pocketmine/block/QuartzStairs.php index 828d049a1..9ef08373d 100644 --- a/src/pocketmine/block/QuartzStairs.php +++ b/src/pocketmine/block/QuartzStairs.php @@ -48,5 +48,4 @@ class QuartzStairs extends Stair{ public function getName() : string{ return "Quartz Stairs"; } - } diff --git a/src/pocketmine/block/RedMushroomBlock.php b/src/pocketmine/block/RedMushroomBlock.php index c3ec4cd45..94e1f45f3 100644 --- a/src/pocketmine/block/RedMushroomBlock.php +++ b/src/pocketmine/block/RedMushroomBlock.php @@ -50,5 +50,4 @@ class RedMushroomBlock extends Solid{ Item::get(Item::RED_MUSHROOM, 0, mt_rand(0, 2)) ]; } - } diff --git a/src/pocketmine/block/RedSandstoneStairs.php b/src/pocketmine/block/RedSandstoneStairs.php index 99e8018df..5c1471f69 100644 --- a/src/pocketmine/block/RedSandstoneStairs.php +++ b/src/pocketmine/block/RedSandstoneStairs.php @@ -30,5 +30,4 @@ class RedSandstoneStairs extends SandstoneStairs{ public function getName() : string{ return "Red " . parent::getName(); } - } diff --git a/src/pocketmine/block/Sand.php b/src/pocketmine/block/Sand.php index 7d9436e9d..bd98b47b1 100644 --- a/src/pocketmine/block/Sand.php +++ b/src/pocketmine/block/Sand.php @@ -46,5 +46,4 @@ class Sand extends Fallable{ return "Sand"; } - } diff --git a/src/pocketmine/block/SandstoneStairs.php b/src/pocketmine/block/SandstoneStairs.php index 3077ecec5..7c73e6147 100644 --- a/src/pocketmine/block/SandstoneStairs.php +++ b/src/pocketmine/block/SandstoneStairs.php @@ -48,5 +48,4 @@ class SandstoneStairs extends Stair{ public function getName() : string{ return "Sandstone Stairs"; } - } diff --git a/src/pocketmine/block/SeaLantern.php b/src/pocketmine/block/SeaLantern.php index d0f7b5c91..86af6679d 100644 --- a/src/pocketmine/block/SeaLantern.php +++ b/src/pocketmine/block/SeaLantern.php @@ -51,5 +51,4 @@ class SeaLantern extends Transparent{ ItemFactory::get(Item::PRISMARINE_CRYSTALS, 0, 3) ]; } - } diff --git a/src/pocketmine/block/Snow.php b/src/pocketmine/block/Snow.php index c5e4a51c7..b6e00b3bd 100644 --- a/src/pocketmine/block/Snow.php +++ b/src/pocketmine/block/Snow.php @@ -56,5 +56,4 @@ class Snow extends Solid{ ItemFactory::get(Item::SNOWBALL, 0, 4) ]; } - } diff --git a/src/pocketmine/block/SoulSand.php b/src/pocketmine/block/SoulSand.php index 73a2dcad4..dbe6deadc 100644 --- a/src/pocketmine/block/SoulSand.php +++ b/src/pocketmine/block/SoulSand.php @@ -56,5 +56,4 @@ class SoulSand extends Solid{ $this->z + 1 ); } - } diff --git a/src/pocketmine/block/Sponge.php b/src/pocketmine/block/Sponge.php index bf609d941..4553f6fc5 100644 --- a/src/pocketmine/block/Sponge.php +++ b/src/pocketmine/block/Sponge.php @@ -39,5 +39,4 @@ class Sponge extends Solid{ public function getName() : string{ return "Sponge"; } - } diff --git a/src/pocketmine/block/StainedGlass.php b/src/pocketmine/block/StainedGlass.php index 2bf291406..76aa65d2d 100644 --- a/src/pocketmine/block/StainedGlass.php +++ b/src/pocketmine/block/StainedGlass.php @@ -32,5 +32,4 @@ class StainedGlass extends Glass{ public function getName() : string{ return ColorBlockMetaHelper::getColorFromMeta($this->meta) . " Stained Glass"; } - } diff --git a/src/pocketmine/block/StainedGlassPane.php b/src/pocketmine/block/StainedGlassPane.php index 1a7a3daa3..01a9d35df 100644 --- a/src/pocketmine/block/StainedGlassPane.php +++ b/src/pocketmine/block/StainedGlassPane.php @@ -32,5 +32,4 @@ class StainedGlassPane extends GlassPane{ public function getName() : string{ return ColorBlockMetaHelper::getColorFromMeta($this->meta) . " Stained Glass Pane"; } - } diff --git a/src/pocketmine/block/StillLava.php b/src/pocketmine/block/StillLava.php index 7fd3b6e8c..b4130a739 100644 --- a/src/pocketmine/block/StillLava.php +++ b/src/pocketmine/block/StillLava.php @@ -30,5 +30,4 @@ class StillLava extends Lava{ public function getName() : string{ return "Still Lava"; } - } diff --git a/src/pocketmine/block/Stone.php b/src/pocketmine/block/Stone.php index cb39c0839..c3a6d8c21 100644 --- a/src/pocketmine/block/Stone.php +++ b/src/pocketmine/block/Stone.php @@ -76,5 +76,4 @@ class Stone extends Solid{ return parent::getDropsForCompatibleTool($item); } - } diff --git a/src/pocketmine/block/StoneBrickStairs.php b/src/pocketmine/block/StoneBrickStairs.php index 53f3f2122..dc1220300 100644 --- a/src/pocketmine/block/StoneBrickStairs.php +++ b/src/pocketmine/block/StoneBrickStairs.php @@ -48,5 +48,4 @@ class StoneBrickStairs extends Stair{ public function getName() : string{ return "Stone Brick Stairs"; } - } diff --git a/src/pocketmine/command/ConsoleCommandSender.php b/src/pocketmine/command/ConsoleCommandSender.php index cb8a1a28a..bb53d2173 100644 --- a/src/pocketmine/command/ConsoleCommandSender.php +++ b/src/pocketmine/command/ConsoleCommandSender.php @@ -145,5 +145,4 @@ class ConsoleCommandSender implements CommandSender{ } $this->lineHeight = $height; } - } diff --git a/src/pocketmine/command/FormattedCommandAlias.php b/src/pocketmine/command/FormattedCommandAlias.php index 771691626..cb4821fcc 100644 --- a/src/pocketmine/command/FormattedCommandAlias.php +++ b/src/pocketmine/command/FormattedCommandAlias.php @@ -154,5 +154,4 @@ class FormattedCommandAlias extends Command{ private static function inRange(int $i, int $j, int $k) : bool{ return $i >= $j and $i <= $k; } - } diff --git a/src/pocketmine/command/RemoteConsoleCommandSender.php b/src/pocketmine/command/RemoteConsoleCommandSender.php index c4ff17e68..f66bf1a9d 100644 --- a/src/pocketmine/command/RemoteConsoleCommandSender.php +++ b/src/pocketmine/command/RemoteConsoleCommandSender.php @@ -47,6 +47,4 @@ class RemoteConsoleCommandSender extends ConsoleCommandSender{ public function getName() : string{ return "Rcon"; } - - } diff --git a/src/pocketmine/command/SimpleCommandMap.php b/src/pocketmine/command/SimpleCommandMap.php index c07da3cf8..78308da68 100644 --- a/src/pocketmine/command/SimpleCommandMap.php +++ b/src/pocketmine/command/SimpleCommandMap.php @@ -345,6 +345,4 @@ class SimpleCommandMap implements CommandMap{ } } - - } diff --git a/src/pocketmine/command/defaults/HelpCommand.php b/src/pocketmine/command/defaults/HelpCommand.php index 2a7e18f92..b1e12749e 100644 --- a/src/pocketmine/command/defaults/HelpCommand.php +++ b/src/pocketmine/command/defaults/HelpCommand.php @@ -99,5 +99,4 @@ class HelpCommand extends VanillaCommand{ return true; } } - } diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 202def20b..078d84665 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -2122,5 +2122,4 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ public function __toString(){ return (new \ReflectionClass($this))->getShortName() . "(" . $this->getId() . ")"; } - } diff --git a/src/pocketmine/entity/Skin.php b/src/pocketmine/entity/Skin.php index f52699a0c..a73c11f14 100644 --- a/src/pocketmine/entity/Skin.php +++ b/src/pocketmine/entity/Skin.php @@ -99,5 +99,4 @@ class Skin{ $this->geometryData = (string) json_encode(json_decode($this->geometryData)); } } - } diff --git a/src/pocketmine/event/block/BlockGrowEvent.php b/src/pocketmine/event/block/BlockGrowEvent.php index b6d4aa4b4..c2caff64f 100644 --- a/src/pocketmine/event/block/BlockGrowEvent.php +++ b/src/pocketmine/event/block/BlockGrowEvent.php @@ -44,5 +44,4 @@ class BlockGrowEvent extends BlockEvent implements Cancellable{ public function getNewState() : Block{ return $this->newState; } - } diff --git a/src/pocketmine/event/block/BlockSpreadEvent.php b/src/pocketmine/event/block/BlockSpreadEvent.php index 168f6790a..d68fdb2ce 100644 --- a/src/pocketmine/event/block/BlockSpreadEvent.php +++ b/src/pocketmine/event/block/BlockSpreadEvent.php @@ -43,5 +43,4 @@ class BlockSpreadEvent extends BlockFormEvent{ public function getSource() : Block{ return $this->source; } - } diff --git a/src/pocketmine/event/entity/EntityBlockChangeEvent.php b/src/pocketmine/event/entity/EntityBlockChangeEvent.php index d8418b21d..4ac9a8624 100644 --- a/src/pocketmine/event/entity/EntityBlockChangeEvent.php +++ b/src/pocketmine/event/entity/EntityBlockChangeEvent.php @@ -55,5 +55,4 @@ class EntityBlockChangeEvent extends EntityEvent implements Cancellable{ public function getTo() : Block{ return $this->to; } - } diff --git a/src/pocketmine/event/entity/EntityCombustByBlockEvent.php b/src/pocketmine/event/entity/EntityCombustByBlockEvent.php index baa1cf1f7..85f524a94 100644 --- a/src/pocketmine/event/entity/EntityCombustByBlockEvent.php +++ b/src/pocketmine/event/entity/EntityCombustByBlockEvent.php @@ -46,5 +46,4 @@ class EntityCombustByBlockEvent extends EntityCombustEvent{ public function getCombuster() : Block{ return $this->combuster; } - } diff --git a/src/pocketmine/event/entity/EntityCombustByEntityEvent.php b/src/pocketmine/event/entity/EntityCombustByEntityEvent.php index f7e8197e2..cfa448de2 100644 --- a/src/pocketmine/event/entity/EntityCombustByEntityEvent.php +++ b/src/pocketmine/event/entity/EntityCombustByEntityEvent.php @@ -45,5 +45,4 @@ class EntityCombustByEntityEvent extends EntityCombustEvent{ public function getCombuster() : Entity{ return $this->combuster; } - } diff --git a/src/pocketmine/event/entity/EntityCombustEvent.php b/src/pocketmine/event/entity/EntityCombustEvent.php index b7aa88baa..c3cb23ecc 100644 --- a/src/pocketmine/event/entity/EntityCombustEvent.php +++ b/src/pocketmine/event/entity/EntityCombustEvent.php @@ -49,5 +49,4 @@ class EntityCombustEvent extends EntityEvent implements Cancellable{ public function setDuration(int $duration){ $this->duration = $duration; } - } diff --git a/src/pocketmine/event/entity/EntityDamageByBlockEvent.php b/src/pocketmine/event/entity/EntityDamageByBlockEvent.php index f819f2f20..044e679ed 100644 --- a/src/pocketmine/event/entity/EntityDamageByBlockEvent.php +++ b/src/pocketmine/event/entity/EntityDamageByBlockEvent.php @@ -51,6 +51,4 @@ class EntityDamageByBlockEvent extends EntityDamageEvent{ public function getDamager() : Block{ return $this->damager; } - - } diff --git a/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php b/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php index 8a44fbbf4..e1410d72d 100644 --- a/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php +++ b/src/pocketmine/event/entity/EntityDamageByChildEntityEvent.php @@ -53,6 +53,4 @@ class EntityDamageByChildEntityEvent extends EntityDamageByEntityEvent{ public function getChild(){ return $this->getEntity()->getLevel()->getServer()->findEntity($this->childEntityEid, $this->getEntity()->getLevel()); } - - } diff --git a/src/pocketmine/event/entity/EntityDeathEvent.php b/src/pocketmine/event/entity/EntityDeathEvent.php index 8e6e07084..13835ff36 100644 --- a/src/pocketmine/event/entity/EntityDeathEvent.php +++ b/src/pocketmine/event/entity/EntityDeathEvent.php @@ -59,5 +59,4 @@ class EntityDeathEvent extends EntityEvent{ public function setDrops(array $drops){ $this->drops = $drops; } - } diff --git a/src/pocketmine/event/entity/EntityDespawnEvent.php b/src/pocketmine/event/entity/EntityDespawnEvent.php index 0246d12a3..0f456e360 100644 --- a/src/pocketmine/event/entity/EntityDespawnEvent.php +++ b/src/pocketmine/event/entity/EntityDespawnEvent.php @@ -86,5 +86,4 @@ class EntityDespawnEvent extends EntityEvent{ public function isItem() : bool{ return $this->entity instanceof ItemEntity; } - } diff --git a/src/pocketmine/event/entity/EntityEffectAddEvent.php b/src/pocketmine/event/entity/EntityEffectAddEvent.php index 207e3bdee..b113f9788 100644 --- a/src/pocketmine/event/entity/EntityEffectAddEvent.php +++ b/src/pocketmine/event/entity/EntityEffectAddEvent.php @@ -65,5 +65,4 @@ class EntityEffectAddEvent extends EntityEffectEvent{ public function getOldEffect(){ return $this->oldEffect; } - } diff --git a/src/pocketmine/event/entity/EntityEffectRemoveEvent.php b/src/pocketmine/event/entity/EntityEffectRemoveEvent.php index 7a36a6f91..c2de7f9e7 100644 --- a/src/pocketmine/event/entity/EntityEffectRemoveEvent.php +++ b/src/pocketmine/event/entity/EntityEffectRemoveEvent.php @@ -33,5 +33,4 @@ class EntityEffectRemoveEvent extends EntityEffectEvent{ } parent::setCancelled($value); } - } diff --git a/src/pocketmine/event/entity/EntityExplodeEvent.php b/src/pocketmine/event/entity/EntityExplodeEvent.php index 214c4cfb6..ad06f62ec 100644 --- a/src/pocketmine/event/entity/EntityExplodeEvent.php +++ b/src/pocketmine/event/entity/EntityExplodeEvent.php @@ -90,5 +90,4 @@ class EntityExplodeEvent extends EntityEvent implements Cancellable{ public function setYield(float $yield){ $this->yield = $yield; } - } diff --git a/src/pocketmine/event/entity/EntityInventoryChangeEvent.php b/src/pocketmine/event/entity/EntityInventoryChangeEvent.php index 07d5b495d..81038bbbd 100644 --- a/src/pocketmine/event/entity/EntityInventoryChangeEvent.php +++ b/src/pocketmine/event/entity/EntityInventoryChangeEvent.php @@ -75,6 +75,4 @@ class EntityInventoryChangeEvent extends EntityEvent implements Cancellable{ public function getOldItem() : Item{ return $this->oldItem; } - - } diff --git a/src/pocketmine/event/entity/EntityMotionEvent.php b/src/pocketmine/event/entity/EntityMotionEvent.php index b117170d5..36b9a2d1c 100644 --- a/src/pocketmine/event/entity/EntityMotionEvent.php +++ b/src/pocketmine/event/entity/EntityMotionEvent.php @@ -42,6 +42,4 @@ class EntityMotionEvent extends EntityEvent implements Cancellable{ public function getVector() : Vector3{ return $this->mot; } - - } diff --git a/src/pocketmine/event/entity/EntityRegainHealthEvent.php b/src/pocketmine/event/entity/EntityRegainHealthEvent.php index 86eb50846..8402f2692 100644 --- a/src/pocketmine/event/entity/EntityRegainHealthEvent.php +++ b/src/pocketmine/event/entity/EntityRegainHealthEvent.php @@ -71,5 +71,4 @@ class EntityRegainHealthEvent extends EntityEvent implements Cancellable{ public function getRegainReason() : int{ return $this->reason; } - } diff --git a/src/pocketmine/event/entity/EntityShootBowEvent.php b/src/pocketmine/event/entity/EntityShootBowEvent.php index c6fc7cd3f..3843251d8 100644 --- a/src/pocketmine/event/entity/EntityShootBowEvent.php +++ b/src/pocketmine/event/entity/EntityShootBowEvent.php @@ -100,6 +100,4 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{ public function setForce(float $force){ $this->force = $force; } - - } diff --git a/src/pocketmine/event/entity/EntitySpawnEvent.php b/src/pocketmine/event/entity/EntitySpawnEvent.php index 8857e6b1e..20a068b87 100644 --- a/src/pocketmine/event/entity/EntitySpawnEvent.php +++ b/src/pocketmine/event/entity/EntitySpawnEvent.php @@ -94,5 +94,4 @@ class EntitySpawnEvent extends EntityEvent{ public function isItem() : bool{ return $this->entity instanceof ItemEntity; } - } diff --git a/src/pocketmine/event/entity/EntityTeleportEvent.php b/src/pocketmine/event/entity/EntityTeleportEvent.php index fb5fe6223..78cd7617a 100644 --- a/src/pocketmine/event/entity/EntityTeleportEvent.php +++ b/src/pocketmine/event/entity/EntityTeleportEvent.php @@ -59,6 +59,4 @@ class EntityTeleportEvent extends EntityEvent implements Cancellable{ public function setTo(Position $to){ $this->to = $to; } - - } diff --git a/src/pocketmine/event/entity/ExplosionPrimeEvent.php b/src/pocketmine/event/entity/ExplosionPrimeEvent.php index f5a588736..56e7adacb 100644 --- a/src/pocketmine/event/entity/ExplosionPrimeEvent.php +++ b/src/pocketmine/event/entity/ExplosionPrimeEvent.php @@ -69,5 +69,4 @@ class ExplosionPrimeEvent extends EntityEvent implements Cancellable{ public function setBlockBreaking(bool $affectsBlocks){ $this->blockBreaking = $affectsBlocks; } - } diff --git a/src/pocketmine/event/entity/ItemDespawnEvent.php b/src/pocketmine/event/entity/ItemDespawnEvent.php index 40c7b6ca7..c934dd565 100644 --- a/src/pocketmine/event/entity/ItemDespawnEvent.php +++ b/src/pocketmine/event/entity/ItemDespawnEvent.php @@ -42,5 +42,4 @@ class ItemDespawnEvent extends EntityEvent implements Cancellable{ public function getEntity(){ return $this->entity; } - } diff --git a/src/pocketmine/event/entity/ItemSpawnEvent.php b/src/pocketmine/event/entity/ItemSpawnEvent.php index e34de46db..ed76cd062 100644 --- a/src/pocketmine/event/entity/ItemSpawnEvent.php +++ b/src/pocketmine/event/entity/ItemSpawnEvent.php @@ -41,5 +41,4 @@ class ItemSpawnEvent extends EntityEvent{ public function getEntity(){ return $this->entity; } - } diff --git a/src/pocketmine/event/entity/ProjectileLaunchEvent.php b/src/pocketmine/event/entity/ProjectileLaunchEvent.php index 665f1e187..6aafb585c 100644 --- a/src/pocketmine/event/entity/ProjectileLaunchEvent.php +++ b/src/pocketmine/event/entity/ProjectileLaunchEvent.php @@ -41,5 +41,4 @@ class ProjectileLaunchEvent extends EntityEvent implements Cancellable{ public function getEntity(){ return $this->entity; } - } diff --git a/src/pocketmine/event/inventory/InventoryCloseEvent.php b/src/pocketmine/event/inventory/InventoryCloseEvent.php index 1f89f69a0..929efb8d7 100644 --- a/src/pocketmine/event/inventory/InventoryCloseEvent.php +++ b/src/pocketmine/event/inventory/InventoryCloseEvent.php @@ -45,5 +45,4 @@ class InventoryCloseEvent extends InventoryEvent{ public function getPlayer() : Player{ return $this->who; } - } diff --git a/src/pocketmine/event/inventory/InventoryOpenEvent.php b/src/pocketmine/event/inventory/InventoryOpenEvent.php index 4d40e4597..0b26c9bfb 100644 --- a/src/pocketmine/event/inventory/InventoryOpenEvent.php +++ b/src/pocketmine/event/inventory/InventoryOpenEvent.php @@ -46,5 +46,4 @@ class InventoryOpenEvent extends InventoryEvent implements Cancellable{ public function getPlayer() : Player{ return $this->who; } - } diff --git a/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php b/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php index 80ea69358..0efa7af7b 100644 --- a/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php +++ b/src/pocketmine/event/inventory/InventoryPickupArrowEvent.php @@ -46,5 +46,4 @@ class InventoryPickupArrowEvent extends InventoryEvent implements Cancellable{ public function getArrow() : Arrow{ return $this->arrow; } - } diff --git a/src/pocketmine/event/inventory/InventoryPickupItemEvent.php b/src/pocketmine/event/inventory/InventoryPickupItemEvent.php index 47c78771b..f94e6dfeb 100644 --- a/src/pocketmine/event/inventory/InventoryPickupItemEvent.php +++ b/src/pocketmine/event/inventory/InventoryPickupItemEvent.php @@ -46,5 +46,4 @@ class InventoryPickupItemEvent extends InventoryEvent implements Cancellable{ public function getItem() : ItemEntity{ return $this->item; } - } diff --git a/src/pocketmine/event/inventory/InventoryTransactionEvent.php b/src/pocketmine/event/inventory/InventoryTransactionEvent.php index d254c9a20..50d7671ae 100644 --- a/src/pocketmine/event/inventory/InventoryTransactionEvent.php +++ b/src/pocketmine/event/inventory/InventoryTransactionEvent.php @@ -48,5 +48,4 @@ class InventoryTransactionEvent extends Event implements Cancellable{ public function getTransaction() : InventoryTransaction{ return $this->transaction; } - } diff --git a/src/pocketmine/event/player/PlayerAnimationEvent.php b/src/pocketmine/event/player/PlayerAnimationEvent.php index 163cef5b9..b0650446b 100644 --- a/src/pocketmine/event/player/PlayerAnimationEvent.php +++ b/src/pocketmine/event/player/PlayerAnimationEvent.php @@ -48,5 +48,4 @@ class PlayerAnimationEvent extends PlayerEvent implements Cancellable{ public function getAnimationType() : int{ return $this->animationType; } - } diff --git a/src/pocketmine/event/player/PlayerBedEnterEvent.php b/src/pocketmine/event/player/PlayerBedEnterEvent.php index 6df54c6ed..e25ac35a7 100644 --- a/src/pocketmine/event/player/PlayerBedEnterEvent.php +++ b/src/pocketmine/event/player/PlayerBedEnterEvent.php @@ -42,5 +42,4 @@ class PlayerBedEnterEvent extends PlayerEvent implements Cancellable{ public function getBed() : Block{ return $this->bed; } - } diff --git a/src/pocketmine/event/player/PlayerBedLeaveEvent.php b/src/pocketmine/event/player/PlayerBedLeaveEvent.php index d02248695..005bc750c 100644 --- a/src/pocketmine/event/player/PlayerBedLeaveEvent.php +++ b/src/pocketmine/event/player/PlayerBedLeaveEvent.php @@ -41,5 +41,4 @@ class PlayerBedLeaveEvent extends PlayerEvent{ public function getBed() : Block{ return $this->bed; } - } diff --git a/src/pocketmine/event/player/PlayerChangeSkinEvent.php b/src/pocketmine/event/player/PlayerChangeSkinEvent.php index 6365f8a64..3b1d7987d 100644 --- a/src/pocketmine/event/player/PlayerChangeSkinEvent.php +++ b/src/pocketmine/event/player/PlayerChangeSkinEvent.php @@ -72,5 +72,4 @@ class PlayerChangeSkinEvent extends PlayerEvent implements Cancellable{ $this->newSkin = $skin; } - } diff --git a/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php b/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php index 80283b5ed..76b87dd73 100644 --- a/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php +++ b/src/pocketmine/event/player/PlayerCommandPreprocessEvent.php @@ -68,5 +68,4 @@ class PlayerCommandPreprocessEvent extends PlayerEvent implements Cancellable{ public function setPlayer(Player $player){ $this->player = $player; } - } diff --git a/src/pocketmine/event/player/PlayerCreationEvent.php b/src/pocketmine/event/player/PlayerCreationEvent.php index 65babebee..1f3c406f1 100644 --- a/src/pocketmine/event/player/PlayerCreationEvent.php +++ b/src/pocketmine/event/player/PlayerCreationEvent.php @@ -124,5 +124,4 @@ class PlayerCreationEvent extends Event{ $this->playerClass = $class; } - } diff --git a/src/pocketmine/event/player/PlayerDeathEvent.php b/src/pocketmine/event/player/PlayerDeathEvent.php index e26ff1bc1..26d97804d 100644 --- a/src/pocketmine/event/player/PlayerDeathEvent.php +++ b/src/pocketmine/event/player/PlayerDeathEvent.php @@ -81,5 +81,4 @@ class PlayerDeathEvent extends EntityDeathEvent{ public function setKeepInventory(bool $keepInventory){ $this->keepInventory = $keepInventory; } - } diff --git a/src/pocketmine/event/player/PlayerDropItemEvent.php b/src/pocketmine/event/player/PlayerDropItemEvent.php index e7a7c80c2..5a16af15e 100644 --- a/src/pocketmine/event/player/PlayerDropItemEvent.php +++ b/src/pocketmine/event/player/PlayerDropItemEvent.php @@ -49,5 +49,4 @@ class PlayerDropItemEvent extends PlayerEvent implements Cancellable{ public function getItem() : Item{ return $this->drop; } - } diff --git a/src/pocketmine/event/player/PlayerGameModeChangeEvent.php b/src/pocketmine/event/player/PlayerGameModeChangeEvent.php index 962073426..9697c9f72 100644 --- a/src/pocketmine/event/player/PlayerGameModeChangeEvent.php +++ b/src/pocketmine/event/player/PlayerGameModeChangeEvent.php @@ -41,5 +41,4 @@ class PlayerGameModeChangeEvent extends PlayerEvent implements Cancellable{ public function getNewGamemode() : int{ return $this->gamemode; } - } diff --git a/src/pocketmine/event/player/PlayerItemConsumeEvent.php b/src/pocketmine/event/player/PlayerItemConsumeEvent.php index aac0f9871..54a4eecae 100644 --- a/src/pocketmine/event/player/PlayerItemConsumeEvent.php +++ b/src/pocketmine/event/player/PlayerItemConsumeEvent.php @@ -49,5 +49,4 @@ class PlayerItemConsumeEvent extends PlayerEvent implements Cancellable{ public function getItem() : Item{ return clone $this->item; } - } diff --git a/src/pocketmine/event/player/PlayerJoinEvent.php b/src/pocketmine/event/player/PlayerJoinEvent.php index bfb57a104..9b728004c 100644 --- a/src/pocketmine/event/player/PlayerJoinEvent.php +++ b/src/pocketmine/event/player/PlayerJoinEvent.php @@ -57,5 +57,4 @@ class PlayerJoinEvent extends PlayerEvent{ public function getJoinMessage(){ return $this->joinMessage; } - } diff --git a/src/pocketmine/event/player/PlayerJumpEvent.php b/src/pocketmine/event/player/PlayerJumpEvent.php index b7793d5b6..85d8b3a4d 100644 --- a/src/pocketmine/event/player/PlayerJumpEvent.php +++ b/src/pocketmine/event/player/PlayerJumpEvent.php @@ -38,5 +38,4 @@ class PlayerJumpEvent extends PlayerEvent{ public function __construct(Player $player){ $this->player = $player; } - } diff --git a/src/pocketmine/event/player/PlayerKickEvent.php b/src/pocketmine/event/player/PlayerKickEvent.php index 529470448..6aca90d5a 100644 --- a/src/pocketmine/event/player/PlayerKickEvent.php +++ b/src/pocketmine/event/player/PlayerKickEvent.php @@ -67,5 +67,4 @@ class PlayerKickEvent extends PlayerEvent implements Cancellable{ public function getQuitMessage(){ return $this->quitMessage; } - } diff --git a/src/pocketmine/event/player/PlayerLoginEvent.php b/src/pocketmine/event/player/PlayerLoginEvent.php index ef8a71aec..d993f4184 100644 --- a/src/pocketmine/event/player/PlayerLoginEvent.php +++ b/src/pocketmine/event/player/PlayerLoginEvent.php @@ -55,5 +55,4 @@ class PlayerLoginEvent extends PlayerEvent implements Cancellable{ public function getKickMessage() : string{ return $this->kickMessage; } - } diff --git a/src/pocketmine/event/player/PlayerPreLoginEvent.php b/src/pocketmine/event/player/PlayerPreLoginEvent.php index 9f7683ccc..de3f83f9b 100644 --- a/src/pocketmine/event/player/PlayerPreLoginEvent.php +++ b/src/pocketmine/event/player/PlayerPreLoginEvent.php @@ -55,5 +55,4 @@ class PlayerPreLoginEvent extends PlayerEvent implements Cancellable{ public function getKickMessage() : string{ return $this->kickMessage; } - } diff --git a/src/pocketmine/event/player/PlayerToggleFlightEvent.php b/src/pocketmine/event/player/PlayerToggleFlightEvent.php index 8a238e45a..de0511e9d 100644 --- a/src/pocketmine/event/player/PlayerToggleFlightEvent.php +++ b/src/pocketmine/event/player/PlayerToggleFlightEvent.php @@ -45,5 +45,4 @@ class PlayerToggleFlightEvent extends PlayerEvent implements Cancellable{ public function isFlying() : bool{ return $this->isFlying; } - } diff --git a/src/pocketmine/event/player/PlayerToggleSneakEvent.php b/src/pocketmine/event/player/PlayerToggleSneakEvent.php index 024e4b668..902f5b9c6 100644 --- a/src/pocketmine/event/player/PlayerToggleSneakEvent.php +++ b/src/pocketmine/event/player/PlayerToggleSneakEvent.php @@ -45,5 +45,4 @@ class PlayerToggleSneakEvent extends PlayerEvent implements Cancellable{ public function isSneaking() : bool{ return $this->isSneaking; } - } diff --git a/src/pocketmine/event/player/PlayerToggleSprintEvent.php b/src/pocketmine/event/player/PlayerToggleSprintEvent.php index 47a805bd8..96f8c1c0a 100644 --- a/src/pocketmine/event/player/PlayerToggleSprintEvent.php +++ b/src/pocketmine/event/player/PlayerToggleSprintEvent.php @@ -45,5 +45,4 @@ class PlayerToggleSprintEvent extends PlayerEvent implements Cancellable{ public function isSprinting() : bool{ return $this->isSprinting; } - } diff --git a/src/pocketmine/event/server/LowMemoryEvent.php b/src/pocketmine/event/server/LowMemoryEvent.php index 142df9c5c..5e7412b1f 100644 --- a/src/pocketmine/event/server/LowMemoryEvent.php +++ b/src/pocketmine/event/server/LowMemoryEvent.php @@ -89,5 +89,4 @@ class LowMemoryEvent extends ServerEvent{ public function getMemoryFreed() : int{ return $this->getMemory() - ($this->isGlobal() ? Utils::getMemoryUsage(true)[1] : Utils::getMemoryUsage(true)[0]); } - } diff --git a/src/pocketmine/event/server/QueryRegenerateEvent.php b/src/pocketmine/event/server/QueryRegenerateEvent.php index 814b24445..a159dc6bd 100644 --- a/src/pocketmine/event/server/QueryRegenerateEvent.php +++ b/src/pocketmine/event/server/QueryRegenerateEvent.php @@ -278,5 +278,4 @@ class QueryRegenerateEvent extends ServerEvent{ public function getShortQuery() : string{ return $this->serverName . "\x00" . $this->gametype . "\x00" . $this->map . "\x00" . $this->numPlayers . "\x00" . $this->maxPlayers . "\x00" . Binary::writeLShort($this->port) . $this->ip . "\x00"; } - } diff --git a/src/pocketmine/event/server/RemoteServerCommandEvent.php b/src/pocketmine/event/server/RemoteServerCommandEvent.php index 7cc5d2709..a90ba5b95 100644 --- a/src/pocketmine/event/server/RemoteServerCommandEvent.php +++ b/src/pocketmine/event/server/RemoteServerCommandEvent.php @@ -37,5 +37,4 @@ class RemoteServerCommandEvent extends ServerCommandEvent{ public function __construct(CommandSender $sender, string $command){ parent::__construct($sender, $command); } - } diff --git a/src/pocketmine/event/server/ServerCommandEvent.php b/src/pocketmine/event/server/ServerCommandEvent.php index 7285d7681..9e0e884e3 100644 --- a/src/pocketmine/event/server/ServerCommandEvent.php +++ b/src/pocketmine/event/server/ServerCommandEvent.php @@ -70,5 +70,4 @@ class ServerCommandEvent extends ServerEvent implements Cancellable{ public function setCommand(string $command){ $this->command = $command; } - } diff --git a/src/pocketmine/inventory/CraftingManager.php b/src/pocketmine/inventory/CraftingManager.php index cd47053fd..e3420f939 100644 --- a/src/pocketmine/inventory/CraftingManager.php +++ b/src/pocketmine/inventory/CraftingManager.php @@ -291,5 +291,4 @@ class CraftingManager{ public function registerRecipe(Recipe $recipe) : void{ $recipe->registerToCraftingManager($this); } - } diff --git a/src/pocketmine/inventory/EnderChestInventory.php b/src/pocketmine/inventory/EnderChestInventory.php index 713831296..47f99c304 100644 --- a/src/pocketmine/inventory/EnderChestInventory.php +++ b/src/pocketmine/inventory/EnderChestInventory.php @@ -65,5 +65,4 @@ class EnderChestInventory extends ChestInventory{ public function getHolder(){ return $this->holder; } - } diff --git a/src/pocketmine/inventory/MultiRecipe.php b/src/pocketmine/inventory/MultiRecipe.php index dc53d2b3f..0e55cb6d1 100644 --- a/src/pocketmine/inventory/MultiRecipe.php +++ b/src/pocketmine/inventory/MultiRecipe.php @@ -40,5 +40,4 @@ class MultiRecipe{ public function __construct(UUID $uuid){ $this->uuid = $uuid; } - } diff --git a/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php b/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php index 0fdb08bb0..af861c00f 100644 --- a/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php +++ b/src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php @@ -81,5 +81,4 @@ class CreativeInventoryAction extends InventoryAction{ public function onExecuteFail(Player $source) : void{ } - } diff --git a/src/pocketmine/item/Arrow.php b/src/pocketmine/item/Arrow.php index f80404fb3..31b73b725 100644 --- a/src/pocketmine/item/Arrow.php +++ b/src/pocketmine/item/Arrow.php @@ -27,5 +27,4 @@ class Arrow extends Item{ public function __construct(int $meta = 0){ parent::__construct(self::ARROW, $meta, "Arrow"); } - } diff --git a/src/pocketmine/item/BlazeRod.php b/src/pocketmine/item/BlazeRod.php index 8f649acd2..c9276ea68 100644 --- a/src/pocketmine/item/BlazeRod.php +++ b/src/pocketmine/item/BlazeRod.php @@ -32,5 +32,4 @@ class BlazeRod extends Item{ public function getFuelTime() : int{ return 2400; } - } diff --git a/src/pocketmine/item/Book.php b/src/pocketmine/item/Book.php index 2088f7c74..8aec5186e 100644 --- a/src/pocketmine/item/Book.php +++ b/src/pocketmine/item/Book.php @@ -27,5 +27,4 @@ class Book extends Item{ public function __construct(int $meta = 0){ parent::__construct(self::BOOK, $meta, "Book"); } - } diff --git a/src/pocketmine/item/Clock.php b/src/pocketmine/item/Clock.php index e1b7fec02..d2769167e 100644 --- a/src/pocketmine/item/Clock.php +++ b/src/pocketmine/item/Clock.php @@ -27,5 +27,4 @@ class Clock extends Item{ public function __construct(int $meta = 0){ parent::__construct(self::CLOCK, $meta, "Clock"); } - } diff --git a/src/pocketmine/item/Coal.php b/src/pocketmine/item/Coal.php index 4c4f982c4..89c214b3b 100644 --- a/src/pocketmine/item/Coal.php +++ b/src/pocketmine/item/Coal.php @@ -35,5 +35,4 @@ class Coal extends Item{ public function getFuelTime() : int{ return 1600; } - } diff --git a/src/pocketmine/item/Compass.php b/src/pocketmine/item/Compass.php index f56428b1b..1469e71b4 100644 --- a/src/pocketmine/item/Compass.php +++ b/src/pocketmine/item/Compass.php @@ -27,5 +27,4 @@ class Compass extends Item{ public function __construct(int $meta = 0){ parent::__construct(self::COMPASS, $meta, "Compass"); } - } diff --git a/src/pocketmine/item/Item.php b/src/pocketmine/item/Item.php index 060e50ce4..216886f4e 100644 --- a/src/pocketmine/item/Item.php +++ b/src/pocketmine/item/Item.php @@ -965,5 +965,4 @@ class Item implements ItemIds, \JsonSerializable{ public function __clone(){ $this->cachedNBT = null; } - } diff --git a/src/pocketmine/item/ItemBlock.php b/src/pocketmine/item/ItemBlock.php index 7e49231d2..865c0470d 100644 --- a/src/pocketmine/item/ItemBlock.php +++ b/src/pocketmine/item/ItemBlock.php @@ -54,5 +54,4 @@ class ItemBlock extends Item{ public function getFuelTime() : int{ return $this->getBlock()->getFuelTime(); } - } diff --git a/src/pocketmine/item/RottenFlesh.php b/src/pocketmine/item/RottenFlesh.php index 9d3f5e3b7..223f7452e 100644 --- a/src/pocketmine/item/RottenFlesh.php +++ b/src/pocketmine/item/RottenFlesh.php @@ -49,5 +49,4 @@ class RottenFlesh extends Food{ return []; } - } diff --git a/src/pocketmine/item/Stick.php b/src/pocketmine/item/Stick.php index b3eb12b9f..b3dd1c92c 100644 --- a/src/pocketmine/item/Stick.php +++ b/src/pocketmine/item/Stick.php @@ -32,5 +32,4 @@ class Stick extends Item{ public function getFuelTime() : int{ return 100; } - } diff --git a/src/pocketmine/item/enchantment/EnchantmentEntry.php b/src/pocketmine/item/enchantment/EnchantmentEntry.php index 286061c20..edd2dffb8 100644 --- a/src/pocketmine/item/enchantment/EnchantmentEntry.php +++ b/src/pocketmine/item/enchantment/EnchantmentEntry.php @@ -55,5 +55,4 @@ class EnchantmentEntry{ public function getRandomName() : string{ return $this->randomName; } - } diff --git a/src/pocketmine/item/enchantment/EnchantmentList.php b/src/pocketmine/item/enchantment/EnchantmentList.php index c95b97374..ebec0a3f4 100644 --- a/src/pocketmine/item/enchantment/EnchantmentList.php +++ b/src/pocketmine/item/enchantment/EnchantmentList.php @@ -53,5 +53,4 @@ class EnchantmentList{ public function getSize() : int{ return $this->enchantments->getSize(); } - } diff --git a/src/pocketmine/level/LevelTimings.php b/src/pocketmine/level/LevelTimings.php index eafe9a8ab..a8f758ca9 100644 --- a/src/pocketmine/level/LevelTimings.php +++ b/src/pocketmine/level/LevelTimings.php @@ -87,5 +87,4 @@ class LevelTimings{ $this->doTick = new TimingsHandler($name . "doTick"); } - } diff --git a/src/pocketmine/level/format/io/ChunkRequestTask.php b/src/pocketmine/level/format/io/ChunkRequestTask.php index 834e5d61f..ef451e4b5 100644 --- a/src/pocketmine/level/format/io/ChunkRequestTask.php +++ b/src/pocketmine/level/format/io/ChunkRequestTask.php @@ -93,5 +93,4 @@ class ChunkRequestTask extends AsyncTask{ $server->getLogger()->debug("Dropped chunk task due to level not loaded"); } } - } diff --git a/src/pocketmine/level/format/io/region/Anvil.php b/src/pocketmine/level/format/io/region/Anvil.php index 5a7a63c1d..c1aeccd03 100644 --- a/src/pocketmine/level/format/io/region/Anvil.php +++ b/src/pocketmine/level/format/io/region/Anvil.php @@ -155,5 +155,4 @@ class Anvil extends McRegion{ //TODO: add world height options return 256; } - } diff --git a/src/pocketmine/level/generator/hell/Nether.php b/src/pocketmine/level/generator/hell/Nether.php index d4d3eb3a8..163870267 100644 --- a/src/pocketmine/level/generator/hell/Nether.php +++ b/src/pocketmine/level/generator/hell/Nether.php @@ -131,5 +131,4 @@ class Nether extends Generator{ public function getSpawn() : Vector3{ return new Vector3(127.5, 128, 127.5); } - } diff --git a/src/pocketmine/level/generator/normal/Normal.php b/src/pocketmine/level/generator/normal/Normal.php index 07cb790d1..0c1ca5dab 100644 --- a/src/pocketmine/level/generator/normal/Normal.php +++ b/src/pocketmine/level/generator/normal/Normal.php @@ -248,5 +248,4 @@ class Normal extends Generator{ public function getSpawn() : Vector3{ return new Vector3(127.5, 128, 127.5); } - } diff --git a/src/pocketmine/level/generator/object/BigTree.php b/src/pocketmine/level/generator/object/BigTree.php index 2db9351e0..0306c6b72 100644 --- a/src/pocketmine/level/generator/object/BigTree.php +++ b/src/pocketmine/level/generator/object/BigTree.php @@ -82,6 +82,4 @@ class BigTree extends Tree{ } */ } - - } diff --git a/src/pocketmine/level/generator/object/Ore.php b/src/pocketmine/level/generator/object/Ore.php index d58024eba..c8b2ea33d 100644 --- a/src/pocketmine/level/generator/object/Ore.php +++ b/src/pocketmine/level/generator/object/Ore.php @@ -97,5 +97,4 @@ class Ore{ } } } - } diff --git a/src/pocketmine/level/generator/object/Pond.php b/src/pocketmine/level/generator/object/Pond.php index 5ab43f4d4..560d64464 100644 --- a/src/pocketmine/level/generator/object/Pond.php +++ b/src/pocketmine/level/generator/object/Pond.php @@ -44,5 +44,4 @@ class Pond{ public function placeObject(ChunkManager $level, Vector3 $pos){ } - } diff --git a/src/pocketmine/level/generator/object/SpruceTree.php b/src/pocketmine/level/generator/object/SpruceTree.php index fdcb969ee..30ac7315e 100644 --- a/src/pocketmine/level/generator/object/SpruceTree.php +++ b/src/pocketmine/level/generator/object/SpruceTree.php @@ -79,6 +79,4 @@ class SpruceTree extends Tree{ } } } - - } diff --git a/src/pocketmine/level/sound/GenericSound.php b/src/pocketmine/level/sound/GenericSound.php index cb9099854..1aba871a3 100644 --- a/src/pocketmine/level/sound/GenericSound.php +++ b/src/pocketmine/level/sound/GenericSound.php @@ -55,5 +55,4 @@ class GenericSound extends Sound{ return $pk; } - } diff --git a/src/pocketmine/network/mcpe/NetworkSession.php b/src/pocketmine/network/mcpe/NetworkSession.php index 44a17df01..f90954b1e 100644 --- a/src/pocketmine/network/mcpe/NetworkSession.php +++ b/src/pocketmine/network/mcpe/NetworkSession.php @@ -578,5 +578,4 @@ abstract class NetworkSession{ public function handleUpdateBlockSynced(UpdateBlockSyncedPacket $packet) : bool{ return false; } - } diff --git a/src/pocketmine/network/mcpe/VerifyLoginTask.php b/src/pocketmine/network/mcpe/VerifyLoginTask.php index b995b91ce..cf4f5d374 100644 --- a/src/pocketmine/network/mcpe/VerifyLoginTask.php +++ b/src/pocketmine/network/mcpe/VerifyLoginTask.php @@ -151,5 +151,4 @@ class VerifyLoginTask extends AsyncTask{ $player->onVerifyCompleted($this->packet, $this->error, $this->authenticated); } } - } diff --git a/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php b/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php index 8b1f33166..fb93f307c 100644 --- a/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddEntityPacket.php @@ -116,5 +116,4 @@ class AddEntityPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAddEntity($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php b/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php index c47fb527c..931bfde4c 100644 --- a/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddHangingEntityPacket.php @@ -60,5 +60,4 @@ class AddHangingEntityPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAddHangingEntity($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php b/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php index a2a3d34e8..9e2772e4e 100644 --- a/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddItemEntityPacket.php @@ -70,5 +70,4 @@ class AddItemEntityPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAddItemEntity($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AddPaintingPacket.php b/src/pocketmine/network/mcpe/protocol/AddPaintingPacket.php index e665aab3c..faee720aa 100644 --- a/src/pocketmine/network/mcpe/protocol/AddPaintingPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddPaintingPacket.php @@ -47,5 +47,4 @@ class AddPaintingPacket extends AddHangingEntityPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAddPainting($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AddPlayerPacket.php b/src/pocketmine/network/mcpe/protocol/AddPlayerPacket.php index fcd412c21..2394bbd6b 100644 --- a/src/pocketmine/network/mcpe/protocol/AddPlayerPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AddPlayerPacket.php @@ -138,5 +138,4 @@ class AddPlayerPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAddPlayer($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php b/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php index bf7387d47..8196f6d3a 100644 --- a/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AdventureSettingsPacket.php @@ -119,5 +119,4 @@ class AdventureSettingsPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAdventureSettings($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AnimatePacket.php b/src/pocketmine/network/mcpe/protocol/AnimatePacket.php index 177ae8991..16dcc620c 100644 --- a/src/pocketmine/network/mcpe/protocol/AnimatePacket.php +++ b/src/pocketmine/network/mcpe/protocol/AnimatePacket.php @@ -62,5 +62,4 @@ class AnimatePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAnimate($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php b/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php index 3b69e1859..6592afe67 100644 --- a/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php +++ b/src/pocketmine/network/mcpe/protocol/AvailableCommandsPacket.php @@ -339,5 +339,4 @@ class AvailableCommandsPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleAvailableCommands($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/BatchPacket.php b/src/pocketmine/network/mcpe/protocol/BatchPacket.php index 62f197568..48ee3e600 100644 --- a/src/pocketmine/network/mcpe/protocol/BatchPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BatchPacket.php @@ -119,5 +119,4 @@ class BatchPacket extends DataPacket{ return true; } - } diff --git a/src/pocketmine/network/mcpe/protocol/BlockEntityDataPacket.php b/src/pocketmine/network/mcpe/protocol/BlockEntityDataPacket.php index c1aa4c169..e936f01e5 100644 --- a/src/pocketmine/network/mcpe/protocol/BlockEntityDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BlockEntityDataPacket.php @@ -53,5 +53,4 @@ class BlockEntityDataPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleBlockEntityData($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/BlockEventPacket.php b/src/pocketmine/network/mcpe/protocol/BlockEventPacket.php index 3433cbc14..12e7fc0c7 100644 --- a/src/pocketmine/network/mcpe/protocol/BlockEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BlockEventPacket.php @@ -57,5 +57,4 @@ class BlockEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleBlockEvent($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/BossEventPacket.php b/src/pocketmine/network/mcpe/protocol/BossEventPacket.php index a3d89b763..30d07d658 100644 --- a/src/pocketmine/network/mcpe/protocol/BossEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/BossEventPacket.php @@ -129,5 +129,4 @@ class BossEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleBossEvent($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php b/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php index 543cdad95..485748f6d 100644 --- a/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ChangeDimensionPacket.php @@ -54,5 +54,4 @@ class ChangeDimensionPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleChangeDimension($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ChunkRadiusUpdatedPacket.php b/src/pocketmine/network/mcpe/protocol/ChunkRadiusUpdatedPacket.php index 4b2605985..684de5f33 100644 --- a/src/pocketmine/network/mcpe/protocol/ChunkRadiusUpdatedPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ChunkRadiusUpdatedPacket.php @@ -45,5 +45,4 @@ class ChunkRadiusUpdatedPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleChunkRadiusUpdated($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php b/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php index 6312897ac..9b1b07c41 100644 --- a/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ContainerOpenPacket.php @@ -61,5 +61,4 @@ class ContainerOpenPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleContainerOpen($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php b/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php index cce98e548..a3d57195f 100644 --- a/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ContainerSetDataPacket.php @@ -63,5 +63,4 @@ class ContainerSetDataPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleContainerSetData($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/CraftingDataPacket.php b/src/pocketmine/network/mcpe/protocol/CraftingDataPacket.php index 0161c8b00..cf4afce99 100644 --- a/src/pocketmine/network/mcpe/protocol/CraftingDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/CraftingDataPacket.php @@ -218,5 +218,4 @@ class CraftingDataPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleCraftingData($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/CraftingEventPacket.php b/src/pocketmine/network/mcpe/protocol/CraftingEventPacket.php index b18214acb..7be78b254 100644 --- a/src/pocketmine/network/mcpe/protocol/CraftingEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/CraftingEventPacket.php @@ -84,5 +84,4 @@ class CraftingEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleCraftingEvent($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/DisconnectPacket.php b/src/pocketmine/network/mcpe/protocol/DisconnectPacket.php index ea47a9e61..e9047df25 100644 --- a/src/pocketmine/network/mcpe/protocol/DisconnectPacket.php +++ b/src/pocketmine/network/mcpe/protocol/DisconnectPacket.php @@ -57,5 +57,4 @@ class DisconnectPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleDisconnect($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/EntityEventPacket.php b/src/pocketmine/network/mcpe/protocol/EntityEventPacket.php index 141349a3d..19e5fbd19 100644 --- a/src/pocketmine/network/mcpe/protocol/EntityEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/EntityEventPacket.php @@ -105,5 +105,4 @@ class EntityEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleEntityEvent($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ExplodePacket.php b/src/pocketmine/network/mcpe/protocol/ExplodePacket.php index 8f98615d4..5e2f0855d 100644 --- a/src/pocketmine/network/mcpe/protocol/ExplodePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ExplodePacket.php @@ -69,5 +69,4 @@ class ExplodePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleExplode($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/FullChunkDataPacket.php b/src/pocketmine/network/mcpe/protocol/FullChunkDataPacket.php index fe5aa73e0..c3c0a4215 100644 --- a/src/pocketmine/network/mcpe/protocol/FullChunkDataPacket.php +++ b/src/pocketmine/network/mcpe/protocol/FullChunkDataPacket.php @@ -53,5 +53,4 @@ class FullChunkDataPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleFullChunkData($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php b/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php index dadc32956..1a45daa91 100644 --- a/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php +++ b/src/pocketmine/network/mcpe/protocol/GameRulesChangedPacket.php @@ -44,5 +44,4 @@ class GameRulesChangedPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleGameRulesChanged($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php b/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php index fac680dd0..805d0f1af 100644 --- a/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php +++ b/src/pocketmine/network/mcpe/protocol/HurtArmorPacket.php @@ -45,5 +45,4 @@ class HurtArmorPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleHurtArmor($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/InteractPacket.php b/src/pocketmine/network/mcpe/protocol/InteractPacket.php index 768d53f99..737396279 100644 --- a/src/pocketmine/network/mcpe/protocol/InteractPacket.php +++ b/src/pocketmine/network/mcpe/protocol/InteractPacket.php @@ -74,5 +74,4 @@ class InteractPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleInteract($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php b/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php index f8e3d44f2..200bb5824 100644 --- a/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ItemFrameDropItemPacket.php @@ -49,5 +49,4 @@ class ItemFrameDropItemPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleItemFrameDropItem($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php b/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php index 4e4a3ab51..c40065115 100644 --- a/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php +++ b/src/pocketmine/network/mcpe/protocol/LevelEventPacket.php @@ -133,5 +133,4 @@ class LevelEventPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleLevelEvent($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/MobArmorEquipmentPacket.php b/src/pocketmine/network/mcpe/protocol/MobArmorEquipmentPacket.php index 8ea55f16a..f0e8335ee 100644 --- a/src/pocketmine/network/mcpe/protocol/MobArmorEquipmentPacket.php +++ b/src/pocketmine/network/mcpe/protocol/MobArmorEquipmentPacket.php @@ -54,5 +54,4 @@ class MobArmorEquipmentPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleMobArmorEquipment($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/MobEffectPacket.php b/src/pocketmine/network/mcpe/protocol/MobEffectPacket.php index ab0c84a70..e14bf7357 100644 --- a/src/pocketmine/network/mcpe/protocol/MobEffectPacket.php +++ b/src/pocketmine/network/mcpe/protocol/MobEffectPacket.php @@ -69,5 +69,4 @@ class MobEffectPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleMobEffect($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/MobEquipmentPacket.php b/src/pocketmine/network/mcpe/protocol/MobEquipmentPacket.php index f41cf7913..49025bb27 100644 --- a/src/pocketmine/network/mcpe/protocol/MobEquipmentPacket.php +++ b/src/pocketmine/network/mcpe/protocol/MobEquipmentPacket.php @@ -62,5 +62,4 @@ class MobEquipmentPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleMobEquipment($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/MoveEntityPacket.php b/src/pocketmine/network/mcpe/protocol/MoveEntityPacket.php index 3946d7d03..a17e4de3e 100644 --- a/src/pocketmine/network/mcpe/protocol/MoveEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/MoveEntityPacket.php @@ -70,5 +70,4 @@ class MoveEntityPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleMoveEntity($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/MovePlayerPacket.php b/src/pocketmine/network/mcpe/protocol/MovePlayerPacket.php index e6b878934..cb85b447e 100644 --- a/src/pocketmine/network/mcpe/protocol/MovePlayerPacket.php +++ b/src/pocketmine/network/mcpe/protocol/MovePlayerPacket.php @@ -91,5 +91,4 @@ class MovePlayerPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleMovePlayer($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/PacketPool.php b/src/pocketmine/network/mcpe/protocol/PacketPool.php index 18df6cd45..af1f8b184 100644 --- a/src/pocketmine/network/mcpe/protocol/PacketPool.php +++ b/src/pocketmine/network/mcpe/protocol/PacketPool.php @@ -170,5 +170,4 @@ class PacketPool{ return $pk; } - } diff --git a/src/pocketmine/network/mcpe/protocol/PlayStatusPacket.php b/src/pocketmine/network/mcpe/protocol/PlayStatusPacket.php index a4cf2fc5d..ed0408972 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayStatusPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayStatusPacket.php @@ -72,5 +72,4 @@ class PlayStatusPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlayStatus($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/PlayerActionPacket.php b/src/pocketmine/network/mcpe/protocol/PlayerActionPacket.php index e6276b707..5d45b27d3 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayerActionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayerActionPacket.php @@ -87,5 +87,4 @@ class PlayerActionPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlayerAction($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/PlayerInputPacket.php b/src/pocketmine/network/mcpe/protocol/PlayerInputPacket.php index 2ea2b92d3..9835e832a 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayerInputPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayerInputPacket.php @@ -57,5 +57,4 @@ class PlayerInputPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlayerInput($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/PlayerListPacket.php b/src/pocketmine/network/mcpe/protocol/PlayerListPacket.php index b04491e84..6e756982d 100644 --- a/src/pocketmine/network/mcpe/protocol/PlayerListPacket.php +++ b/src/pocketmine/network/mcpe/protocol/PlayerListPacket.php @@ -108,5 +108,4 @@ class PlayerListPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handlePlayerList($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/RemoveEntityPacket.php b/src/pocketmine/network/mcpe/protocol/RemoveEntityPacket.php index 42a25c93b..b4ef71361 100644 --- a/src/pocketmine/network/mcpe/protocol/RemoveEntityPacket.php +++ b/src/pocketmine/network/mcpe/protocol/RemoveEntityPacket.php @@ -45,5 +45,4 @@ class RemoveEntityPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleRemoveEntity($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/RequestChunkRadiusPacket.php b/src/pocketmine/network/mcpe/protocol/RequestChunkRadiusPacket.php index d9130d195..4c296c757 100644 --- a/src/pocketmine/network/mcpe/protocol/RequestChunkRadiusPacket.php +++ b/src/pocketmine/network/mcpe/protocol/RequestChunkRadiusPacket.php @@ -45,5 +45,4 @@ class RequestChunkRadiusPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleRequestChunkRadius($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket.php index 6346d829b..a4dfba666 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePackClientResponsePacket.php @@ -60,5 +60,4 @@ class ResourcePackClientResponsePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleResourcePackClientResponse($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php index 62262c85e..a16bd9980 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePackDataInfoPacket.php @@ -62,5 +62,4 @@ class ResourcePackDataInfoPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleResourcePackDataInfo($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/RespawnPacket.php b/src/pocketmine/network/mcpe/protocol/RespawnPacket.php index c9b4255a5..b13e7bcb7 100644 --- a/src/pocketmine/network/mcpe/protocol/RespawnPacket.php +++ b/src/pocketmine/network/mcpe/protocol/RespawnPacket.php @@ -46,5 +46,4 @@ class RespawnPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleRespawn($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php b/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php index 0750a025b..0f3c87ce9 100644 --- a/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetCommandsEnabledPacket.php @@ -45,5 +45,4 @@ class SetCommandsEnabledPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetCommandsEnabled($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php b/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php index a9975b20c..c960e7950 100644 --- a/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetDifficultyPacket.php @@ -45,5 +45,4 @@ class SetDifficultyPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetDifficulty($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetEntityLinkPacket.php b/src/pocketmine/network/mcpe/protocol/SetEntityLinkPacket.php index a7e3862fe..63928b9b1 100644 --- a/src/pocketmine/network/mcpe/protocol/SetEntityLinkPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetEntityLinkPacket.php @@ -46,5 +46,4 @@ class SetEntityLinkPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetEntityLink($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php b/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php index 1ed0d2f93..66b217552 100644 --- a/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetEntityMotionPacket.php @@ -50,5 +50,4 @@ class SetEntityMotionPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetEntityMotion($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php b/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php index aa2d5ea5d..b87a0e9fb 100644 --- a/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetHealthPacket.php @@ -45,5 +45,4 @@ class SetHealthPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetHealth($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetPlayerGameTypePacket.php b/src/pocketmine/network/mcpe/protocol/SetPlayerGameTypePacket.php index 4f743b7af..81a019eb5 100644 --- a/src/pocketmine/network/mcpe/protocol/SetPlayerGameTypePacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetPlayerGameTypePacket.php @@ -45,5 +45,4 @@ class SetPlayerGameTypePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetPlayerGameType($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetSpawnPositionPacket.php b/src/pocketmine/network/mcpe/protocol/SetSpawnPositionPacket.php index 659f87526..5ba33933e 100644 --- a/src/pocketmine/network/mcpe/protocol/SetSpawnPositionPacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetSpawnPositionPacket.php @@ -60,5 +60,4 @@ class SetSpawnPositionPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetSpawnPosition($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/SetTimePacket.php b/src/pocketmine/network/mcpe/protocol/SetTimePacket.php index c9404e5e0..66a97fba8 100644 --- a/src/pocketmine/network/mcpe/protocol/SetTimePacket.php +++ b/src/pocketmine/network/mcpe/protocol/SetTimePacket.php @@ -44,5 +44,4 @@ class SetTimePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleSetTime($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/StartGamePacket.php b/src/pocketmine/network/mcpe/protocol/StartGamePacket.php index c7df1520d..0cea9e24e 100644 --- a/src/pocketmine/network/mcpe/protocol/StartGamePacket.php +++ b/src/pocketmine/network/mcpe/protocol/StartGamePacket.php @@ -231,5 +231,4 @@ class StartGamePacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleStartGame($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/TextPacket.php b/src/pocketmine/network/mcpe/protocol/TextPacket.php index 8a66c0fa7..cb6990275 100644 --- a/src/pocketmine/network/mcpe/protocol/TextPacket.php +++ b/src/pocketmine/network/mcpe/protocol/TextPacket.php @@ -127,5 +127,4 @@ class TextPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleText($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/TransferPacket.php b/src/pocketmine/network/mcpe/protocol/TransferPacket.php index bd1cfe369..e5729d1da 100644 --- a/src/pocketmine/network/mcpe/protocol/TransferPacket.php +++ b/src/pocketmine/network/mcpe/protocol/TransferPacket.php @@ -48,5 +48,4 @@ class TransferPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleTransfer($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/UpdateAttributesPacket.php b/src/pocketmine/network/mcpe/protocol/UpdateAttributesPacket.php index 656ed350d..5bf84a49c 100644 --- a/src/pocketmine/network/mcpe/protocol/UpdateAttributesPacket.php +++ b/src/pocketmine/network/mcpe/protocol/UpdateAttributesPacket.php @@ -50,5 +50,4 @@ class UpdateAttributesPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleUpdateAttributes($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php b/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php index 94e2e56a4..e6e99cac7 100644 --- a/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php +++ b/src/pocketmine/network/mcpe/protocol/UpdateBlockPacket.php @@ -73,5 +73,4 @@ class UpdateBlockPacket extends DataPacket{ public function handle(NetworkSession $session) : bool{ return $session->handleUpdateBlock($this); } - } diff --git a/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php b/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php index e31a8d17c..c800c19fd 100644 --- a/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php +++ b/src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction.php @@ -214,5 +214,4 @@ class NetworkInventoryAction{ throw new \UnexpectedValueException("Unknown inventory source type $this->sourceType"); } } - } diff --git a/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php b/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php index fd7ecf694..1b5a34ddd 100644 --- a/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php +++ b/src/pocketmine/network/mcpe/protocol/types/PlayerListEntry.php @@ -65,5 +65,4 @@ class PlayerListEntry{ return $entry; } - } diff --git a/src/pocketmine/network/query/QueryHandler.php b/src/pocketmine/network/query/QueryHandler.php index ea2fa8174..7c6770097 100644 --- a/src/pocketmine/network/query/QueryHandler.php +++ b/src/pocketmine/network/query/QueryHandler.php @@ -110,5 +110,4 @@ class QueryHandler{ break; } } - } diff --git a/src/pocketmine/network/rcon/RCON.php b/src/pocketmine/network/rcon/RCON.php index 711598dd0..624045789 100644 --- a/src/pocketmine/network/rcon/RCON.php +++ b/src/pocketmine/network/rcon/RCON.php @@ -108,5 +108,4 @@ class RCON{ $thread->notify(); }, $this->instance); } - } diff --git a/src/pocketmine/permission/BanList.php b/src/pocketmine/permission/BanList.php index 1438e2863..7970f8848 100644 --- a/src/pocketmine/permission/BanList.php +++ b/src/pocketmine/permission/BanList.php @@ -185,5 +185,4 @@ class BanList{ MainLogger::getLogger()->error("Could not save ban list"); } } - } diff --git a/src/pocketmine/permission/Permission.php b/src/pocketmine/permission/Permission.php index 2e4ff4b7a..690d4872a 100644 --- a/src/pocketmine/permission/Permission.php +++ b/src/pocketmine/permission/Permission.php @@ -255,6 +255,4 @@ class Permission{ return new Permission($name, $desc, $default, $children); } - - } diff --git a/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php b/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php index 3e196e176..3b6e7a3e9 100644 --- a/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php +++ b/src/pocketmine/resourcepacks/ResourcePackInfoEntry.php @@ -45,5 +45,4 @@ class ResourcePackInfoEntry{ public function getPackSize() : int{ return $this->packSize; } - } diff --git a/src/pocketmine/scheduler/Task.php b/src/pocketmine/scheduler/Task.php index fda37d428..1a5012784 100644 --- a/src/pocketmine/scheduler/Task.php +++ b/src/pocketmine/scheduler/Task.php @@ -70,5 +70,4 @@ abstract class Task{ public function onCancel(){ } - } diff --git a/src/pocketmine/tile/EnderChest.php b/src/pocketmine/tile/EnderChest.php index c3b868117..5faa2b292 100644 --- a/src/pocketmine/tile/EnderChest.php +++ b/src/pocketmine/tile/EnderChest.php @@ -38,5 +38,4 @@ class EnderChest extends Spawnable{ protected function addAdditionalSpawnData(CompoundTag $nbt) : void{ } - } diff --git a/src/pocketmine/tile/Tile.php b/src/pocketmine/tile/Tile.php index 88b048afe..3cb001fbe 100644 --- a/src/pocketmine/tile/Tile.php +++ b/src/pocketmine/tile/Tile.php @@ -282,5 +282,4 @@ abstract class Tile extends Position{ public function getName() : string{ return $this->name; } - } diff --git a/src/pocketmine/timings/Timings.php b/src/pocketmine/timings/Timings.php index 3e9145fab..a92e02be3 100644 --- a/src/pocketmine/timings/Timings.php +++ b/src/pocketmine/timings/Timings.php @@ -224,5 +224,4 @@ abstract class Timings{ return self::$packetSendTimingMap[$pk::NETWORK_ID]; } - } diff --git a/src/pocketmine/utils/Config.php b/src/pocketmine/utils/Config.php index c041b1d3b..37fad1418 100644 --- a/src/pocketmine/utils/Config.php +++ b/src/pocketmine/utils/Config.php @@ -572,5 +572,4 @@ class Config{ } } } - } diff --git a/src/pocketmine/utils/Random.php b/src/pocketmine/utils/Random.php index 69d225828..f6456276a 100644 --- a/src/pocketmine/utils/Random.php +++ b/src/pocketmine/utils/Random.php @@ -150,5 +150,4 @@ class Random{ public function nextBoundedInt(int $bound) : int{ return $this->nextInt() % $bound; } - } diff --git a/src/pocketmine/utils/Terminal.php b/src/pocketmine/utils/Terminal.php index 7c5067248..5f4140e1e 100644 --- a/src/pocketmine/utils/Terminal.php +++ b/src/pocketmine/utils/Terminal.php @@ -253,5 +253,4 @@ abstract class Terminal{ return $newString; } - } diff --git a/src/pocketmine/wizard/SetupWizard.php b/src/pocketmine/wizard/SetupWizard.php index b58eba595..fb4ff72b2 100644 --- a/src/pocketmine/wizard/SetupWizard.php +++ b/src/pocketmine/wizard/SetupWizard.php @@ -257,6 +257,4 @@ LICENSE; return $input === "" ? $default : $input; } - - }