FEAT: Server operators

This commit is contained in:
Kolyah35
2026-03-31 00:40:10 +03:00
parent 5194575092
commit 1ec347d5d5
13 changed files with 74 additions and 9 deletions

View File

@@ -277,6 +277,8 @@ void Minecraft::setLevel(Level* level, const std::string& message /* ="" */, Loc
}
}
this->level = level;
// So uhhh
level->ops.emplace(options.getStringValue(OPTIONS_USERNAME));
_hasSignaledGeneratingLevelFinished = false;
#ifdef STANDALONE_SERVER
const bool threadedLevelCreation = false;