@Override
	public void getMouseEvent(int button) {
		if (button == 0 && !oldmouse){
			double distance = PointMath.distance2Points(parent.getMapX(), parent.getMapY(), Boot.getPlayer().getX(), Boot.getPlayer().getY());
			if (distance < 2){
				parent.setSolid(!parent.isSolid());
				int oldmeta = parent.getMetadata();
				if (oldmeta == 1){
					parent.setMetadata(0);
				} else {
					parent.setMetadata(1);
				}
				
				mousetimer = 20;
				oldmouse = true;
			}
		}
	}