public void update(Input input) {
        if(!showerror) {
            currentworld.updateOnPlayer(player);
            player.checkPhysics(input);
            
            if(input.isMousePressed(1)) {
                int mx = (int) ((-currentworld.drawx+Mouse.getX())/16);
                int my = (int) ((-currentworld.drawy+(LostAdventure.screenheight-Mouse.getY()))/16);//((-currentworld.drawy+Mouse.getY())/16);
                if(currentworld.checkPosition(mx, my) == Block.AIR) {
                    currentworld.setBlock(mx, my, Block.STONE);
                }
            }
            else if(input.isMouseButtonDown(0)) {
                int mx = (int) ((-currentworld.drawx+Mouse.getX())/16);
                int my = (int) ((-currentworld.drawy+(LostAdventure.screenheight-Mouse.getY()))/16);//((-currentworld.drawy+Mouse.getY())/16);
                /*if(timeron) {
                    if(bx != mx || by != my) {
                        timer.cancel();
                        timeron = false;
                    }
                } else {
                    timeron = true;
                    bx = mx;
                    by = my;
                    timer.schedule(new TimerTask() {
                        @Override
                        public void run() {
                            timeron = false;
                            */if(currentworld.checkPosition(mx, my).isBreakable()) { currentworld.setBlock(mx, my, Block.AIR); }/*
                        }
                    }, 5*1000);
                }*/
            }/* else {
                if(timeron) {
                    timer.cancel();
                    timeron = false;
                }
            }*/
        }
    }