1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Help

Discussion in 'Development' started by leopinx, Jul 9, 2020.

  1. leopinx

    leopinx Creeper

    Messages:
    1
    i am trying to create new block but i get this error
    Code:
     Declaration of pocketmine\block\CustomBlock::place(pocketmine\block\pocketmine\item\Item $item, pocketmine\block\pocketmine
    \block\Block $blockReplace, pocketmine\block\pocketmine\block\Block $blockClicked, int $face, pocketmine\block\pocketmine\math\Vector3 $clickVector, ?pocketm
    ine\block\pocketmine\Player $player = NULL): bool should be compatible with pocketmine\block\Block::place(pocketmine\item\Item $item, pocketmine\block\Block
    $blockReplace, pocketmine\block\Block $blockClicked, int $face, pocketmine\math\Vector3 $clickVector, ?pocketmine\Player $player = NULL): bool
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.