mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Fixed some air items with count 1 instead of 0
This commit is contained in:
@ -52,7 +52,7 @@ class ItemFrame extends Spawnable{
|
||||
if(isset($this->namedtag->Item)){
|
||||
return Item::nbtDeserialize($this->namedtag->Item);
|
||||
}else{
|
||||
return ItemFactory::get(Item::AIR);
|
||||
return ItemFactory::get(Item::AIR, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user