Fixed debug.runCommand in pure single player mode, fixes #754.