mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
parent
c2dfef700f
commit
d474f73665
@ -291,8 +291,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
|
||||
protected $stepHeight = 0.6;
|
||||
|
||||
protected $baseOffset = 1.62;
|
||||
|
||||
public $usedChunks = [];
|
||||
protected $chunkLoadCount = 0;
|
||||
protected $loadQueue = [];
|
||||
|
@ -71,6 +71,8 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
protected $totalXp = 0;
|
||||
protected $xpSeed;
|
||||
|
||||
protected $baseOffset = 1.62;
|
||||
|
||||
public function __construct(Level $level, CompoundTag $nbt){
|
||||
if($this->skin === "" and (!isset($nbt->Skin) or !isset($nbt->Skin->Data) or !Player::isValidSkin($nbt->Skin->Data->getValue()))){
|
||||
throw new \InvalidStateException((new \ReflectionClass($this))->getShortName() . " must have a valid skin set");
|
||||
|
Loading…
x
Reference in New Issue
Block a user