used namespacer

This commit is contained in:
Shoghi Cervantes
2014-03-06 15:15:50 +01:00
parent 64a9650765
commit 2e0d9153b3
30 changed files with 155 additions and 107 deletions

View File

@@ -23,6 +23,7 @@ namespace PocketMine\Utils;
use PocketMine;
use PocketMine\BlockAPI as BlockAPI;
use PocketMine\Item\Item as Item;
class Utils{
const BIG_ENDIAN = 0x00;
@@ -203,7 +204,7 @@ class Utils{
$id = Utils::readShort($ob->get(2));
$cnt = ord($ob->get(1));
return Item\Item::get(
return Item::get(
$id,
Utils::readShort($ob->get(2)),
$cnt