mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed #1609
This commit is contained in:
parent
4a072b4163
commit
7ed6ac2341
@ -689,11 +689,11 @@ class Server{
|
||||
if(isset($nbt->Inventory[$itemSlot + 9])){
|
||||
$item = $nbt->Inventory[$itemSlot + 9];
|
||||
$nbt->Inventory[$slot] = new Compound(false, array(
|
||||
new Short("id", $item->id),
|
||||
new Short("Damage", $item->Damage),
|
||||
new Byte("Count", $item->Count),
|
||||
new Short("id", $item["id"]),
|
||||
new Short("Damage", $item["Damage"]),
|
||||
new Byte("Count", $item["Count"]),
|
||||
new Byte("Slot", $slot),
|
||||
new Byte("TrueSlot", $item->TrueSlot)
|
||||
new Byte("TrueSlot", $item["TrueSlot"])
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user