diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 2cae6afd5..c1f9aebc5 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -222,8 +222,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ public $achievements = []; - public $craftingType = 0; //0 = 2x2 crafting, 1 = 3x3 crafting, 2 = stonecutter - /** @var PlayerCursorInventory */ protected $cursorInventory; @@ -3711,7 +3709,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{ if($this->craftingGrid instanceof BigCraftingGrid){ $this->craftingGrid = new CraftingGrid($this); - $this->craftingType = 0; } } diff --git a/src/pocketmine/block/CraftingTable.php b/src/pocketmine/block/CraftingTable.php index 92df2bbfb..c476746b8 100644 --- a/src/pocketmine/block/CraftingTable.php +++ b/src/pocketmine/block/CraftingTable.php @@ -51,7 +51,6 @@ class CraftingTable extends Solid{ public function onActivate(Item $item, Player $player = null) : bool{ if($player instanceof Player){ $player->setCraftingGrid(new BigCraftingGrid($player)); - $player->craftingType = 1; } return true;