mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix mistake made in upgrading 1.16.3
This commit is contained in:
parent
b1233ace7c
commit
c97f6f1945
1 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
{
|
{
|
||||||
if (protocolversion > MC1163Version && handler.GetEntityHandlingEnabled())
|
if (protocolversion > MC1163Version && handler.GetEntityHandlingEnabled())
|
||||||
throw new NotImplementedException("Please update entity types handling for this Minecraft version. See EntityType.cs");
|
throw new NotImplementedException("Please update entity types handling for this Minecraft version. See EntityType.cs");
|
||||||
if (protocolversion >= MC1163Version)
|
if (protocolversion >= MC1162Version)
|
||||||
entityPalette = new EntityPalette1162();
|
entityPalette = new EntityPalette1162();
|
||||||
else if (protocolversion >= MC116Version)
|
else if (protocolversion >= MC116Version)
|
||||||
entityPalette = new EntityPalette1161();
|
entityPalette = new EntityPalette1161();
|
||||||
|
|
@ -132,7 +132,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
{
|
{
|
||||||
if (protocolversion > MC1163Version && handler.GetInventoryEnabled())
|
if (protocolversion > MC1163Version && handler.GetInventoryEnabled())
|
||||||
throw new NotImplementedException("Please update item types handling for this Minecraft version. See ItemType.cs");
|
throw new NotImplementedException("Please update item types handling for this Minecraft version. See ItemType.cs");
|
||||||
if (protocolversion >= MC1163Version)
|
if (protocolversion >= MC1162Version)
|
||||||
itemPalette = new ItemPalette1162();
|
itemPalette = new ItemPalette1162();
|
||||||
else itemPalette = new ItemPalette1161();
|
else itemPalette = new ItemPalette1161();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue