i dont know how to ask quistion here so i ask it here sorry about this and sorry about my english the problem is that the block isnt return (when i join without myname) PHP: public function onBreak(BlockBreakEvent $event) { $block = $event->getBlock(); $level = $block->getLevel(); $player = $event->getPlayer()->getName(); if ($player === "myname") {}elseif($level->getName() === "world") { $event->setCancelled();}}