mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed NBT parsing on false properties
This commit is contained in:
@ -135,7 +135,7 @@ class Furnace extends Tile implements InventoryHolder, Container{
|
||||
public function setItem($index, Item $item){
|
||||
$i = $this->getSlotIndex($index);
|
||||
|
||||
$d = new Compound(false, [
|
||||
$d = new Compound("", [
|
||||
new Byte("Count", $item->getCount()),
|
||||
new Byte("Slot", $index),
|
||||
new Short("id", $item->getId()),
|
||||
|
Reference in New Issue
Block a user