mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
InventoryManager: fix container open callbacks not working
this was reported to me on socials by multiple different people, but nobody reported an issue so I almost forgot. >.<
This commit is contained in:
parent
9b30c2feda
commit
b8ebf8936e
@ -145,9 +145,9 @@ class InventoryManager{
|
|||||||
$this->session->sendDataPacket($pk);
|
$this->session->sendDataPacket($pk);
|
||||||
}
|
}
|
||||||
$this->syncContents($inventory);
|
$this->syncContents($inventory);
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
throw new \UnsupportedOperationException("Unsupported inventory type");
|
throw new \UnsupportedOperationException("Unsupported inventory type");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user