2 Commits f3f9c37c1a ... 39b32e9fda

Author SHA1 Message Date
  TooManySugar 39b32e9fda Change server panel updating to directly ping servers 3 months ago
  TooManySugar f3f9c37c1a Change server panel updating to directly ping servers 3 months ago
1 changed files with 1 additions and 2 deletions
  1. 1 2
      VeloeMinecraftLauncher/Utils/McProtocol/TVarInt.cs

+ 1 - 2
VeloeMinecraftLauncher/Utils/McProtocol/TVarInt.cs

@@ -29,8 +29,7 @@ public class TVarInt
             pos += 7;
             if (pos > 28)
             {
-                // TODO: throw exception
-                break;
+                throw new ArgumentOutOfRangeException("Continuation bit is set on 5th byte");
             }
         }