From 54530da6c18f9faea8182ef7534ab85df397402f Mon Sep 17 00:00:00 2001 From: Stephen Date: Sun, 10 Nov 2019 00:09:29 -0500 Subject: [PATCH] reduce visibility of offset to private --- src/pocketmine/inventory/CraftingGrid.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pocketmine/inventory/CraftingGrid.php b/src/pocketmine/inventory/CraftingGrid.php index 7d8b02c9a..33221a738 100644 --- a/src/pocketmine/inventory/CraftingGrid.php +++ b/src/pocketmine/inventory/CraftingGrid.php @@ -33,15 +33,15 @@ class CraftingGrid extends BaseInventory{ public const SIZE_SMALL = 2; public const SIZE_BIG = 3; - public const SMALL_OFFSET = 28; - public const BIG_OFFSET = 32; + private const SMALL_OFFSET = 28; + private const BIG_OFFSET = 32; - /** @var int */ - public $offset; /** @var Player */ protected $holder; /** @var int */ private $gridWidth; + /** @var int */ + private $offset; /** @var int|null */ private $startX;