2 Commits f3f9c37c1a ... 39b32e9fda

Auteur SHA1 Message Date
  TooManySugar 39b32e9fda Change server panel updating to directly ping servers il y a 3 mois
  TooManySugar f3f9c37c1a Change server panel updating to directly ping servers il y a 3 mois
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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");
             }
         }