mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Added Item namespace
This commit is contained in:
@@ -203,7 +203,7 @@ class Utils{
|
||||
$id = Utils::readShort($ob->get(2));
|
||||
$cnt = ord($ob->get(1));
|
||||
|
||||
return BlockAPI::getItem(
|
||||
return Item\Item::get(
|
||||
$id,
|
||||
Utils::readShort($ob->get(2)),
|
||||
$cnt
|
||||
|
Reference in New Issue
Block a user