mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Removed useless confusing array indices in CompoundTag constructors (#1116)
This commit is contained in:
@ -485,8 +485,8 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
|
||||
if(strlen($this->getSkinData()) > 0){
|
||||
$this->namedtag->Skin = new CompoundTag("Skin", [
|
||||
"Data" => new StringTag("Data", $this->getSkinData()),
|
||||
"Name" => new StringTag("Name", $this->getSkinId())
|
||||
new StringTag("Data", $this->getSkinData()),
|
||||
new StringTag("Name", $this->getSkinId())
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user