forked from Kolyah35/minecraft-pe-0.6.1
should finally work hopefully...
This commit is contained in:
@@ -1736,7 +1736,9 @@ void Level::extinguishFire(int x, int y, int z, int face) {
|
||||
}
|
||||
}
|
||||
std::string Level::gatherStats() {
|
||||
return "All: " + std::to_string(entities.size());
|
||||
std::stringstream ss;
|
||||
ss << "All: " << entities.size();
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string Level::gatherChunkSourceStats() {
|
||||
|
||||
@@ -194,7 +194,9 @@ public:
|
||||
|
||||
std::string gatherStats() {
|
||||
// return "ChunkCache: 1024";
|
||||
return ("ChunkCache: " + std::to_string(CHUNK_CACHE_WIDTH * CHUNK_CACHE_WIDTH));
|
||||
std::stringstream ss;
|
||||
ss << "ChunkCache: " << CHUNK_CACHE_WIDTH * CHUNK_CACHE_WIDTH;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
void saveAll(bool onlyUnsaved) {
|
||||
|
||||
Reference in New Issue
Block a user