@EventHandler
    public void OnPlayerInteract(PlayerInteractEvent e){
        Player p = e.getPlayer();
        PlayerDat pd = DBmanager.PlayerData.get(p.getName());
        
        if(pd.pclass.equalsIgnoreCase("miner")){//&&p.getItemInHand().equals(Material.GOLD_PICKAXE)
//            p.sendMessage("enter 1");
            if(e.getAction().equals(Action.RIGHT_CLICK_AIR) || e.getAction().equals(Action.RIGHT_CLICK_BLOCK)){
                p.sendMessage("wip");
                //not yet
            }
        }
    }