mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
reduce visibility of offset to private
This commit is contained in:
parent
dd55a0bccd
commit
54530da6c1
@ -33,15 +33,15 @@ class CraftingGrid extends BaseInventory{
|
|||||||
public const SIZE_SMALL = 2;
|
public const SIZE_SMALL = 2;
|
||||||
public const SIZE_BIG = 3;
|
public const SIZE_BIG = 3;
|
||||||
|
|
||||||
public const SMALL_OFFSET = 28;
|
private const SMALL_OFFSET = 28;
|
||||||
public const BIG_OFFSET = 32;
|
private const BIG_OFFSET = 32;
|
||||||
|
|
||||||
/** @var int */
|
|
||||||
public $offset;
|
|
||||||
/** @var Player */
|
/** @var Player */
|
||||||
protected $holder;
|
protected $holder;
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $gridWidth;
|
private $gridWidth;
|
||||||
|
/** @var int */
|
||||||
|
private $offset;
|
||||||
|
|
||||||
/** @var int|null */
|
/** @var int|null */
|
||||||
private $startX;
|
private $startX;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user