diff --git a/MinecraftClient/MinecraftClient.csproj b/MinecraftClient/MinecraftClient.csproj
index f5dcca51..f5ffe2d4 100644
--- a/MinecraftClient/MinecraftClient.csproj
+++ b/MinecraftClient/MinecraftClient.csproj
@@ -88,7 +88,6 @@
-
diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs
index 0784986f..d7ae3b49 100644
--- a/MinecraftClient/Protocol/Handlers/Protocol18.cs
+++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs
@@ -68,7 +68,7 @@ namespace MinecraftClient.Protocol.Handlers
handler.SetTerrainEnabled(false);
}
- if (handler.GetInventoryEnabled() && protocolversion > MC114Version)
+ if (handler.GetInventoryEnabled() && protocolversion > MC1152Version)
{
ConsoleIO.WriteLineFormatted("ยง8Inventories are currently not handled for that MC version.");
handler.SetInventoryEnabled(false);
@@ -509,7 +509,7 @@ namespace MinecraftClient.Protocol.Handlers
}
break;
case PacketIncomingType.WindowItems:
- if (handler.GetInventoryEnabled()||true) // set true in .ini but GetInventoryEnabled seems like return false
+ if (handler.GetInventoryEnabled())
{
/*
* Following commented code will crash