mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
another recommit
This commit is contained in:
parent
299e5380c1
commit
6b0b5ff0ad
|
|
@ -188,12 +188,12 @@ void ChatScreen::keyPressed(wchar_t ch, int eventKey)
|
|||
|
||||
wstring trim1 = trimString(trim);
|
||||
|
||||
if (!minecraft->handleClientSideCommand(trim1))
|
||||
{
|
||||
MultiplayerLocalPlayer* mplp = dynamic_cast<MultiplayerLocalPlayer*>(minecraft->player.get());
|
||||
if (mplp && mplp->connection)
|
||||
mplp->connection->send(std::make_shared<ChatPacket>(trim1));
|
||||
}
|
||||
//if (!minecraft->handleClientSideCommand(trim1))
|
||||
//{
|
||||
// MultiplayerLocalPlayer* mplp = dynamic_cast<MultiplayerLocalPlayer*>(minecraft->player.get());
|
||||
// if (mplp && mplp->connection)
|
||||
// mplp->connection->send(std::make_shared<ChatPacket>(trim1));
|
||||
//}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2635,7 +2635,8 @@ void Minecraft::tick(bool bFirst, bool bUpdateTextures)
|
|||
*piUse=IDS_TOOLTIPS_BLOCK;
|
||||
break;
|
||||
|
||||
// QUICK EQUIP FOR ARMOR (TOOLTIPS ONLY)
|
||||
// QUICK EQUIP FOR ARMOR (TOOLTIPS ONLY)
|
||||
// NEEDS LOGIC IMPLEMENTATION!
|
||||
|
||||
// LEATHER
|
||||
case Item::helmet_leather_Id:
|
||||
|
|
|
|||
Loading…
Reference in a new issue