mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added more typehints to Tile namespace
This commit is contained in:
@ -39,7 +39,7 @@ class EnchantTable extends Spawnable implements Nameable{
|
||||
return "Enchanting Table";
|
||||
}
|
||||
|
||||
public function addAdditionalSpawnData(CompoundTag $nbt){
|
||||
public function addAdditionalSpawnData(CompoundTag $nbt) : void{
|
||||
if($this->hasName()){
|
||||
$nbt->CustomName = $this->namedtag->CustomName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user