Anvil: actually add slot constants, this time

This commit is contained in:
Dylan K. Taylor 2021-09-03 12:44:41 +01:00
parent 963f4a9cf3
commit 2e153624ad
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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);