mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added constant slot IDs for Furnace, Enchanting, Anvil and Brewing Stand inventories
This commit is contained in:
@ -30,6 +30,9 @@ use pocketmine\world\Position;
|
||||
class EnchantInventory extends SimpleInventory implements BlockInventory{
|
||||
use BlockInventoryTrait;
|
||||
|
||||
public const SLOT_INPUT = 0;
|
||||
public const SLOT_LAPIS = 1;
|
||||
|
||||
public function __construct(Position $holder){
|
||||
$this->holder = $holder;
|
||||
parent::__construct(2);
|
||||
|
Reference in New Issue
Block a user