PHP: public function onInteract(PlayerInteractEvent $event) : void{ if($event->getBlock()->getId() === 54 && $event->isCancelled()) $event->setCancelled(false);}
That could conflict with other plugins, so you might want to check the priority of your event handler.