Fix EntityHandling not disabled when version unsupported

This commit is contained in:
ReinforceZwei 2020-03-31 20:42:13 +08:00 committed by ORelio
parent ef9064c91e
commit ddcc9ee8e6

View file

@ -76,7 +76,7 @@ namespace MinecraftClient.Protocol.Handlers
handler.SetInventoryEnabled(false);
}
if(handler.GetEntityHandlingEnabled() && protocolversion < MC1122Version)
if(handler.GetEntityHandlingEnabled() && protocolversion <= MC1122Version)
{
ConsoleIO.WriteLineFormatted("§8Entities are currently not handled for that MC version.");
handler.SetEntityHandlingEnabled(false);