Added server/client condition to cubeExistsAbove