mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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{
|
||||
use BlockInventoryTrait;
|
||||
|
||||
public const SLOT_INPUT = 0;
|
||||
public const SLOT_MATERIAL = 1;
|
||||
|
||||
public function __construct(Position $holder){
|
||||
$this->holder = $holder;
|
||||
parent::__construct(2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user