public void updatePrice() {
		if (gp == null) {
			return;
		}
		BlockVector max = region.getMaximumPoint();
		BlockVector min = region.getMinimumPoint();
		max.setY(min.getY());
		int x = 0;
		int z = 0;
		if (max.getX() > min.getX()) {
			x = (int) (max.getX() - min.getX()) + 1;
		} else {
			x = (int) (min.getX() - max.getX()) + 1;
		}
		if (max.getZ() > min.getZ()) {
			z = (int) (max.getZ() - min.getZ()) + 1;
		} else {
			z = (int) (min.getZ() - max.getZ()) + 1;
		}
		price = x * z * gp.getPrice();
	}