mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Implemented new Inventory windows on Player, Chest and Furnace
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
@ -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;
|
||||
|
@ -69,6 +69,7 @@ class Random{
|
||||
if($t > 2147483647){
|
||||
$t -= 4294967296;
|
||||
}
|
||||
|
||||
return (int) $t;
|
||||
}
|
||||
|
||||
|
@ -274,6 +274,7 @@ class TextFormat{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return $newString;
|
||||
}
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
*/
|
||||
namespace pocketmine\utils;
|
||||
|
||||
use pocketmine\item\Item;
|
||||
|
||||
/**
|
||||
* Big collection of functions
|
||||
*/
|
||||
|
Reference in New Issue
Block a user