Change color of "feature not handled" from gray to red (#1265)

Changing the color for the "terrain/inventories/entities not handled for that version" message from gray to red.
This commit is contained in:
Amber Alex 2020-09-26 16:09:34 +02:00 committed by GitHub
parent a38c9dd000
commit 0c88c18ea0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -38,19 +38,19 @@ namespace MinecraftClient.Protocol.Handlers
if (Handler.GetTerrainEnabled()) if (Handler.GetTerrainEnabled())
{ {
ConsoleIO.WriteLineFormatted(8Terrain & Movements currently not handled for that MC version."); ConsoleIO.WriteLineFormatted(cTerrain & Movements currently not handled for that MC version.");
Handler.SetTerrainEnabled(false); Handler.SetTerrainEnabled(false);
} }
if (handler.GetInventoryEnabled()) if (handler.GetInventoryEnabled())
{ {
ConsoleIO.WriteLineFormatted(8Inventories are currently not handled for that MC version."); ConsoleIO.WriteLineFormatted(cInventories are currently not handled for that MC version.");
handler.SetInventoryEnabled(false); handler.SetInventoryEnabled(false);
} }
if (handler.GetEntityHandlingEnabled()) if (handler.GetEntityHandlingEnabled())
{ {
ConsoleIO.WriteLineFormatted(8Entities are currently not handled for that MC version."); ConsoleIO.WriteLineFormatted(cEntities are currently not handled for that MC version.");
handler.SetEntityHandlingEnabled(false); handler.SetEntityHandlingEnabled(false);
} }
} }

View file

@ -81,19 +81,19 @@ namespace MinecraftClient.Protocol.Handlers
if (handler.GetTerrainEnabled() && protocolversion > MC1152Version) if (handler.GetTerrainEnabled() && protocolversion > MC1152Version)
{ {
ConsoleIO.WriteLineFormatted(8Terrain & Movements currently not handled for that MC version."); ConsoleIO.WriteLineFormatted(cTerrain & Movements currently not handled for that MC version.");
handler.SetTerrainEnabled(false); handler.SetTerrainEnabled(false);
} }
if (handler.GetInventoryEnabled() && (protocolversion < MC110Version || protocolversion > MC1163Version)) if (handler.GetInventoryEnabled() && (protocolversion < MC110Version || protocolversion > MC1163Version))
{ {
ConsoleIO.WriteLineFormatted(8Inventories are currently not handled for that MC version."); ConsoleIO.WriteLineFormatted(cInventories are currently not handled for that MC version.");
handler.SetInventoryEnabled(false); handler.SetInventoryEnabled(false);
} }
if (handler.GetEntityHandlingEnabled() && (protocolversion < MC110Version || protocolversion > MC1163Version)) if (handler.GetEntityHandlingEnabled() && (protocolversion < MC110Version || protocolversion > MC1163Version))
{ {
ConsoleIO.WriteLineFormatted(8Entities are currently not handled for that MC version."); ConsoleIO.WriteLineFormatted(cEntities are currently not handled for that MC version.");
handler.SetEntityHandlingEnabled(false); handler.SetEntityHandlingEnabled(false);
} }