strip extra blank lines (php-cs-fixer)

This commit is contained in:
Dylan K. Taylor 2020-01-22 15:14:10 +00:00
parent 8d7a364b29
commit 055b13a6cf
149 changed files with 0 additions and 188 deletions

View File

@ -435,7 +435,6 @@ class MemoryManager{
fwrite($obData, "$hash@$className: " . json_encode($info, JSON_UNESCAPED_SLASHES) . "\n");
}
}while($continue);
$logger->info("Wrote " . count($objects) . " objects");

View File

@ -1328,7 +1328,6 @@ class Server{
return true;
}
$sender->sendMessage($this->getLanguage()->translateString(TextFormat::RED . "%commands.generic.notFound"));
return false;
@ -1580,7 +1579,6 @@ class Server{
$this->uniquePlayers = [];
}
/**
* @return Language
*/

View File

@ -30,7 +30,6 @@ if(defined('pocketmine\_VERSION_INFO_INCLUDED')){
}
const _VERSION_INFO_INCLUDED = true;
const NAME = "PocketMine-MP";
const BASE_VERSION = "4.0.0";
const IS_DEVELOPMENT_BUILD = true;

View File

@ -333,7 +333,6 @@ class Block{
return false;
}
public function addVelocityToEntity(Entity $entity, Vector3 $vector) : void{
}

View File

@ -307,8 +307,6 @@ class BlockFactory{
self::register(new SeaPickle(new BID(Ids::SEA_PICKLE), "Sea Pickle"));
self::register(new Skull(new BID(Ids::MOB_HEAD_BLOCK, 0, null, TileSkull::class), "Mob Head"));
self::register(new Snow(new BID(Ids::SNOW), "Snow Block"));
self::register(new SnowLayer(new BID(Ids::SNOW_LAYER), "Snow Layer"));
self::register(new SoulSand(new BID(Ids::SOUL_SAND), "Soul Sand"));
@ -399,7 +397,6 @@ class BlockFactory{
self::register(new WeightedPressurePlateLight(new BID(Ids::LIGHT_WEIGHTED_PRESSURE_PLATE), "Weighted Pressure Plate Light"));
self::register(new Wheat(new BID(Ids::WHEAT_BLOCK), "Wheat Block"));
//region ugly treetype -> blockID mapping tables
$woodenStairIds = [
TreeType::OAK()->id() => Ids::OAK_STAIRS,

View File

@ -61,7 +61,6 @@ abstract class Crops extends Flowable{
return false;
}
public function onInteract(Item $item, int $face, Vector3 $clickVector, ?Player $player = null) : bool{
if($this->age < 7 and $item instanceof Fertilizer){
$block = clone $this;

View File

@ -32,7 +32,6 @@ use pocketmine\player\Player;
use pocketmine\world\BlockTransaction;
use pocketmine\world\sound\DoorSound;
class Door extends Transparent{
/** @var int */
protected $facing = Facing::NORTH;
@ -46,7 +45,6 @@ class Door extends Transparent{
/** @var bool */
protected $powered = false;
protected function writeStateToMeta() : int{
if($this->top){
return BlockLegacyMetadata::DOOR_FLAG_TOP |

View File

@ -1,6 +1,5 @@
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\item\ToolTier;
class GlowingObsidian extends Opaque{

View File

@ -67,7 +67,6 @@ class Leaves extends Transparent{
return true;
}
protected function findLog(Vector3 $pos, array &$visited = [], int $distance = 0) : bool{
$index = World::blockHash($pos->x, $pos->y, $pos->z);
if(isset($visited[$index])){

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\block\utils\BlockDataSerializer;
use pocketmine\event\block\BlockGrowEvent;
use pocketmine\item\Item;

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\block;
class Sponge extends Opaque{
/** @var bool */

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\block;
class Transparent extends Block{
public function isTransparent() : bool{

View File

@ -51,7 +51,6 @@ class BrewingStand extends Spawnable implements Container, Nameable{
/** @var int */
private $remainingFuelTime = 0;
public function __construct(World $world, Vector3 $pos){
parent::__construct($world, $pos);
$this->inventory = new BrewingStandInventory($this->pos);

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\command;
interface CommandExecutor{
/**

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\command;
interface CommandMap{
/**
@ -39,5 +38,4 @@ interface CommandMap{
public function getCommand(string $name) : ?Command;
}

View File

@ -133,7 +133,6 @@ class SimpleCommandMap implements CommandMap{
]);
}
public function registerAll(string $fallbackPrefix, array $commands) : void{
foreach($commands as $command){
$this->register($fallbackPrefix, $command);
@ -288,7 +287,6 @@ class SimpleCommandMap implements CommandMap{
$commandName = "";
$command = $this->matchCommand($commandName, $args);
if($command === null){
$bad[] = $commandString;
}elseif($commandName === $alias){

View File

@ -119,7 +119,6 @@ class EffectCommand extends VanillaCommand{
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.effect.success", [$effect->getName(), $instance->getAmplifier(), $player->getDisplayName(), $instance->getDuration() / 20]));
}
return true;
}
}

View File

@ -88,7 +88,6 @@ class EnchantCommand extends VanillaCommand{
$item->addEnchantment(new EnchantmentInstance($enchantment, $level));
$player->getInventory()->setItemInHand($item);
self::broadcastCommandMessage($sender, new TranslationContainer("%commands.enchant.success", [$player->getName()]));
return true;
}

View File

@ -68,7 +68,6 @@ class KickCommand extends VanillaCommand{
$sender->sendMessage(new TranslationContainer(TextFormat::RED . "%commands.generic.player.notFound"));
}
return true;
}
}

View File

@ -121,7 +121,6 @@ class ParticleCommand extends VanillaCommand{
return true;
}
$sender->sendMessage(new TranslationContainer("commands.particle.success", [$name, $count]));
$random = new Random((int) (microtime(true) * 1000) + mt_rand());

View File

@ -85,7 +85,6 @@ class TimeCommand extends VanillaCommand{
return true;
}
if(count($args) < 2){
throw new InvalidCommandSyntaxException();
}

View File

@ -21,10 +21,8 @@
declare(strict_types=1);
namespace pocketmine\command\defaults;
use pocketmine\command\CommandSender;
use pocketmine\command\utils\InvalidCommandSyntaxException;
use pocketmine\player\Player;

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\entity;
interface Ageable{
public function isBaby() : bool;
}

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\entity;
use pocketmine\network\mcpe\protocol\types\entity\EntityMetadataFlags;
abstract class Animal extends Living implements Ageable{

View File

@ -988,7 +988,6 @@ abstract class Entity{
return true;
}
$this->timings->startTiming();
if($this->hasMovementUpdate()){
@ -1017,7 +1016,6 @@ abstract class Entity{
$hasUpdate = $this->entityBaseTick($tickDiff);
Timings::$timerEntityBaseTick->stopTiming();
$this->timings->stopTiming();
//if($this->isStatic())
@ -1188,7 +1186,6 @@ abstract class Entity{
$moveBB->offset(0, 0, $dz);
if($this->stepHeight > 0 and $fallingFlag and ($movX != $dx or $movZ != $dz)){
$cx = $dx;
$cy = $dy;

View File

@ -231,7 +231,6 @@ final class EntityFactory{
throw new \InvalidArgumentException("Entity $class is not registered");
}
/**
* Helper function which creates minimal NBT needed to spawn an entity.
*/

View File

@ -227,7 +227,6 @@ class ExperienceManager{
$this->totalXp = $amount;
}
/**
* Returns whether the human can pickup XP orbs (checks cooldown time)
*/

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\entity;
interface Explosive{
public function explode() : void;

View File

@ -203,7 +203,6 @@ abstract class Living extends Entity{
return $nbt;
}
public function hasLineOfSight(Entity $entity) : bool{
//TODO: head height
return true;

View File

@ -79,7 +79,6 @@ class Squid extends WaterAnimal{
return new Vector3(mt_rand(-1000, 1000) / 1000, mt_rand(-500, 500) / 1000, mt_rand(-1000, 1000) / 1000);
}
protected function entityBaseTick(int $tickDiff = 1) : bool{
if($this->closed){
return false;

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\entity\effect;
use pocketmine\utils\Color;
use pocketmine\utils\RegistryTrait;
use function assert;

View File

@ -80,7 +80,6 @@ class ItemEntity extends Entity{
$this->owner = $nbt->getString("Owner", $this->owner);
$this->thrower = $nbt->getString("Thrower", $this->thrower);
$itemTag = $nbt->getCompoundTag("Item");
if($itemTag === null){
throw new \UnexpectedValueException("Invalid " . get_class($this) . " entity: expected \"Item\" NBT tag not found");
@ -91,7 +90,6 @@ class ItemEntity extends Entity{
throw new \UnexpectedValueException("Item for " . get_class($this) . " is invalid");
}
(new ItemSpawnEvent($this))->call();
}

View File

@ -86,7 +86,6 @@ class PaintingMotive{
/** @var int */
protected $height;
public function __construct(int $width, int $height, string $name){
$this->name = $name;
$this->width = $width;

View File

@ -51,7 +51,6 @@ class PrimedTNT extends Entity implements Explosive{
public $canCollide = false;
public function attack(EntityDamageEvent $source) : void{
if($source->getCause() === EntityDamageEvent::CAUSE_VOID){
parent::attack($source);
@ -66,7 +65,6 @@ class PrimedTNT extends Entity implements Explosive{
$this->getWorld()->addSound($this->location, new IgniteSound());
}
public function canCollideWith(Entity $entity) : bool{
return false;
}

View File

@ -261,7 +261,6 @@ abstract class Projectile extends Entity{
$this->checkChunks();
$this->checkBlockCollision();
Timings::$entityMoveTimer->stopTiming();
}

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\entity\projectile;
interface ProjectileSource{
}

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\event;
/**
* Events that can be cancelled must use the interface Cancellable
*/

View File

@ -87,7 +87,6 @@ class BlockBreakEvent extends BlockEvent implements Cancellable{
$this->instaBreak = $instaBreak;
}
/**
* @return Item[]
*/

View File

@ -21,7 +21,6 @@
declare(strict_types=1);
namespace pocketmine\event\plugin;
class PluginDisableEvent extends PluginEvent{

View File

@ -21,7 +21,6 @@
declare(strict_types=1);
namespace pocketmine\event\plugin;
class PluginEnableEvent extends PluginEvent{

View File

@ -25,7 +25,6 @@ namespace pocketmine\event\server;
use pocketmine\utils\Process;
/**
* Called when the server is in a low-memory state as defined by the properties
* Plugins should free caches or other non-essential data.

View File

@ -21,7 +21,6 @@
declare(strict_types=1);
namespace pocketmine\event\world;
use pocketmine\world\format\Chunk;

View File

@ -21,7 +21,6 @@
declare(strict_types=1);
namespace pocketmine\event\world;
use pocketmine\world\format\Chunk;

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Apple extends Food{
public function getFoodRestore() : int{

View File

@ -21,7 +21,6 @@
declare(strict_types=1);
namespace pocketmine\item;
use pocketmine\block\Block;

View File

@ -115,7 +115,6 @@ class Banner extends Item{
);
}
$tag->setTag(self::TAG_PATTERNS, $patterns);
}else{
$tag->removeTag(self::TAG_PATTERNS);

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class BeetrootSoup extends Food{
public function getMaxStackSize() : int{

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Bowl extends Item{
//TODO: check fuel

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Coal extends Item{
public function getFuelTime() : int{

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
use pocketmine\item\enchantment\Enchantment;
use pocketmine\item\enchantment\EnchantmentInstance;

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
class Stick extends Item{
public function getFuelTime() : int{

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item;
use pocketmine\utils\EnumTrait;
/**

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item\enchantment;
class EnchantmentEntry{
/** @var Enchantment[] */

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace pocketmine\item\enchantment;
class EnchantmentList{
/** @var \SplFixedArray|EnchantmentEntry[] */

View File

@ -50,7 +50,6 @@ class LoginPacketHandler extends PacketHandler{
/** @var NetworkSession */
private $session;
public function __construct(Server $server, NetworkSession $session){
$this->session = $session;
$this->server = $server;

View File

@ -57,7 +57,6 @@ class ResourcePacksPacketHandler extends PacketHandler{
/** @var bool[][] uuid => [chunk index => hasSent] */
private $downloadedChunks = [];
public function __construct(NetworkSession $session, ResourcePackManager $resourcePackManager){
$this->session = $session;
$this->resourcePackManager = $resourcePackManager;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ActorFallPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\PlayerPermissions;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class AnimatePacket extends DataPacket implements ClientboundPacket, ServerboundPacket{

View File

@ -39,7 +39,6 @@ use function dechex;
class AvailableCommandsPacket extends DataPacket implements ClientboundPacket{
public const NETWORK_ID = ProtocolInfo::AVAILABLE_COMMANDS_PACKET;
/**
* This flag is set on all types EXCEPT the POSTFIX type. Not completely sure what this is for, but it is required
* for the argtype to work correctly. VALID seems as good a name as any.

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class BlockActorDataPacket extends DataPacket implements ClientboundPacket, ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class BlockPickRequestPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class BossEventPacket extends DataPacket implements ClientboundPacket, ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ChunkRadiusUpdatedPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ClientToServerHandshakePacket extends DataPacket implements ServerboundPacket{

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\BadPacketException;
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\DimensionIds;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class CommandBlockUpdatePacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ContainerClosePacket extends DataPacket implements ClientboundPacket, ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ContainerSetDataPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\crafting\FurnaceRecipe;
use pocketmine\crafting\ShapedRecipe;
use pocketmine\crafting\ShapelessRecipe;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class DisconnectPacket extends DataPacket implements ClientboundPacket, ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class HurtArmorPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class InteractPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use Particle\Validator\Validator;
use pocketmine\network\BadPacketException;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class MapInfoRequestPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\item\Item;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class MobEffectPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\item\Item;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class PlaySoundPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class PlayStatusPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class PlayerActionPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class PlayerInputPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\PlayerListEntry;
use function count;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class RemoveActorPacket extends DataPacket implements ClientboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class RequestChunkRadiusPacket extends DataPacket implements ServerboundPacket{

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use function strlen;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ResourcePackChunkRequestPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use function count;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackType;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackStackEntry;
use function count;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
use pocketmine\network\mcpe\protocol\types\resourcepacks\ResourcePackInfoEntry;
use function count;

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\handler\PacketHandler;

View File

@ -21,12 +21,10 @@
declare(strict_types=1);
namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class RiderJumpPacket extends DataPacket implements ServerboundPacket{

View File

@ -25,7 +25,6 @@ namespace pocketmine\network\mcpe\protocol;
#include <rules/DataPacket.h>
use pocketmine\network\mcpe\handler\PacketHandler;
class ServerToClientHandshakePacket extends DataPacket implements ClientboundPacket{

Some files were not shown because too many files have changed in this diff Show More