mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 00:59:51 +00:00
Anvil: actually add slot constants, this time
This commit is contained in:
parent
963f4a9cf3
commit
2e153624ad
@ -30,6 +30,9 @@ use pocketmine\world\Position;
|
|||||||
class AnvilInventory extends SimpleInventory implements BlockInventory{
|
class AnvilInventory extends SimpleInventory implements BlockInventory{
|
||||||
use BlockInventoryTrait;
|
use BlockInventoryTrait;
|
||||||
|
|
||||||
|
public const SLOT_INPUT = 0;
|
||||||
|
public const SLOT_MATERIAL = 1;
|
||||||
|
|
||||||
public function __construct(Position $holder){
|
public function __construct(Position $holder){
|
||||||
$this->holder = $holder;
|
$this->holder = $holder;
|
||||||
parent::__construct(2);
|
parent::__construct(2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user