Why not work? public function onBreak(BlockBreakEvent $e){ if ($e->getPlayer()->hasPermission("my.server")){
why what not work? "Don'ts: say "it doesn't work", explain yourself and provide as much info as possible!"
1. We won't help you if you don't explain your problem fully 2. USE CODE BLOCKS 3. DUPLICATE OF https://forums.pmmp.io/threads/add-permissions-to-event.1963/