Implemented new Inventory windows on Player, Chest and Furnace

This commit is contained in:
Shoghi Cervantes
2014-05-23 20:53:06 +02:00
parent 27e82ea60a
commit 53749483c3
71 changed files with 1189 additions and 1009 deletions

View File

@ -171,6 +171,7 @@ class Binary{
return $m;
}
/**
* Reads a byte boolean
*
@ -197,7 +198,7 @@ class Binary{
* Reads an unsigned/signed byte
*
* @param string $c
* @param bool $signed
* @param bool $signed
*
* @return int
*/

View File

@ -262,12 +262,13 @@ class Config{
$currPath = null;
}
}
return $currPath;
}
/**
* @param string $path
* @param mixed $value
* @param mixed $value
*/
public function &setPath($path, $value){
$currPath =& $this->config;

View File

@ -69,6 +69,7 @@ class Random{
if($t > 2147483647){
$t -= 4294967296;
}
return (int) $t;
}

View File

@ -274,6 +274,7 @@ class TextFormat{
break;
}
}
return $newString;
}

View File

@ -24,8 +24,6 @@
*/
namespace pocketmine\utils;
use pocketmine\item\Item;
/**
* Big collection of functions
*/