Add sent command to chat history

This commit is contained in:
Marcel Konrad
2019-07-16 15:47:46 +02:00
parent 3f0e4f14bc
commit e0116b2727

View File

@@ -76,8 +76,8 @@ public class ClientEventHandler
buffer.pos(maxX, minY, minZ).color(color1, color1, color1, alpha).endVertex();
buffer.pos(maxX, minY, minZ).color((float) color1, (float) color1, (float) color1, 0.0F).endVertex();
tesselator.draw();
GlStateManager.lineWidth(1.0F);
GlStateManager.lineWidth(1.0F);
GlStateManager.depthMask(true);
GlStateManager.enableTexture();
GlStateManager.disableBlend();
@@ -104,6 +104,7 @@ public class ClientEventHandler
try
{
dispatcher.execute(result);
Minecraft.getInstance().ingameGUI.getChatGUI().addToSentMessages(event.getMessage());
}
catch(CommandSyntaxException e)
{