mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
and more typehints
This commit is contained in:
@ -84,7 +84,7 @@ class ItemFrame extends Spawnable{
|
||||
$this->onChanged();
|
||||
}
|
||||
|
||||
public function getSpawnCompound(){
|
||||
public function getSpawnCompound() : CompoundTag{
|
||||
$tag = new CompoundTag("", [
|
||||
new StringTag("id", Tile::ITEM_FRAME),
|
||||
new IntTag("x", (int) $this->x),
|
||||
|
Reference in New Issue
Block a user