We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974688e commit 9ffc1beCopy full SHA for 9ffc1be
PacketWrapper/src/main/java/com/comphenix/packetwrapper/util/VersionUtil.java
@@ -26,8 +26,8 @@ public final class VersionUtil {
26
.matches()) throw new RuntimeException("Unknown version: \"" + version + "\"");
27
28
MAJOR_VERSION = Integer.parseInt(matcher.group(1));
29
- MINOR_VERSION = Integer.parseInt(matcher.group(1));
30
- BUILD_VERSION = Integer.parseInt(matcher.group(1));
+ MINOR_VERSION = Integer.parseInt(matcher.group(2));
+ BUILD_VERSION = Integer.parseInt(matcher.group(3));
31
}
32
33
private VersionUtil() {
0 commit comments