Added debug message to log, Fixed magmacube spawn