mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 11:16:57 +00:00
Added more typehints to Tile namespace
This commit is contained in:
@ -85,7 +85,7 @@ class FlowerPot extends Spawnable{
|
||||
return $this->getItem()->isNull();
|
||||
}
|
||||
|
||||
public function addAdditionalSpawnData(CompoundTag $nbt){
|
||||
public function addAdditionalSpawnData(CompoundTag $nbt) : void{
|
||||
$nbt->item = $this->namedtag->item;
|
||||
$nbt->mData = $this->namedtag->mData;
|
||||
}
|
||||
|
Reference in New Issue
Block a user