forked from Kolyah35/minecraft-pe-0.6.1
FIX: Steve skin hand, containers open in creative, crash when downfalls is nullptr, build on android (hope)
This commit is contained in:
@@ -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))));
|
||||
|
||||
Reference in New Issue
Block a user