summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2018-01-16 23:04:39 +0100
committerAlexander Harkness <me@bearbin.net>2018-01-16 23:04:39 +0100
commitd11335e4f638d64e51cd9886e209e4222e010747 (patch)
tree00d349504abe05eccd52a09aecd5d1ae3b0286d0 /src/World.cpp
parentExp Orbs and Pickups are destroyed instantly by cacti. (#4136) (diff)
downloadcuberite-d11335e4f638d64e51cd9886e209e4222e010747.tar
cuberite-d11335e4f638d64e51cd9886e209e4222e010747.tar.gz
cuberite-d11335e4f638d64e51cd9886e209e4222e010747.tar.bz2
cuberite-d11335e4f638d64e51cd9886e209e4222e010747.tar.lz
cuberite-d11335e4f638d64e51cd9886e209e4222e010747.tar.xz
cuberite-d11335e4f638d64e51cd9886e209e4222e010747.tar.zst
cuberite-d11335e4f638d64e51cd9886e209e4222e010747.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 4cf25aee3..6c806ec6e 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -682,7 +682,7 @@ void cWorld::GenerateRandomSpawn(int a_MaxSpawnRadius)
{
SetSpawn(BiomeOffset.x + 0.5, SpawnY, BiomeOffset.z + 0.5);
- LOGINFO("Generated spawnpoint position at {%.2f, %.2f, %.2f}", m_SpawnX, m_SpawnY, m_SpawnZ);
+ LOGINFO("World \"%s\": Generated spawnpoint position at {%.2f, %.2f, %.2f}", m_WorldName, m_SpawnX, m_SpawnY, m_SpawnZ);
return;
}
@@ -716,14 +716,14 @@ void cWorld::GenerateRandomSpawn(int a_MaxSpawnRadius)
cChunkDef::BlockToChunk(static_cast<int>(m_SpawnX), static_cast<int>(m_SpawnZ), ChunkX, ChunkZ);
cSpawnPrepare::PrepareChunks(*this, ChunkX, ChunkZ, a_MaxSpawnRadius);
- LOGINFO("Generated spawnpoint position at {%.2f, %.2f, %.2f}", m_SpawnX, m_SpawnY, m_SpawnZ);
+ LOGINFO("World \"%s\":Generated spawnpoint position at {%.2f, %.2f, %.2f}", m_WorldName, m_SpawnX, m_SpawnY, m_SpawnZ);
return;
}
}
}
m_SpawnY = GetHeight(static_cast<int>(m_SpawnX), static_cast<int>(m_SpawnZ));
- LOGWARNING("Did not find an acceptable spawnpoint. Generated a random spawnpoint position at {%.2f, %.2f, %.2f}", m_SpawnX, m_SpawnY, m_SpawnZ);
+ LOGWARNING("World \"%s\": Did not find an acceptable spawnpoint. Generated a random spawnpoint position at {%.2f, %.2f, %.2f}", m_WorldName, m_SpawnX, m_SpawnY, m_SpawnZ);
}