FIX: Steve skin hand, containers open in creative, crash when downfalls is nullptr, build on android (hope)

This commit is contained in:
2026-07-21 14:43:37 +02:00
parent d7a51b09f1
commit 9a743b9aea
11 changed files with 42 additions and 22 deletions

View File

@@ -162,7 +162,7 @@ void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& source, MessageP
if (player == nullptr) return; // @todo maybe kick?
std::string msg = packet->message.C_String();
if (packet->message[0] == '/') {
if (msg[0] == '/') {
// This is a command
ChatPacket resp(minecraft->commandManager().execute(*minecraft, *player, Util::stringTrim(msg.substr(1))));