Skip to content

Commit 2aa35e4

Browse files
committed
1.2.2: Velocity b360+ support
1 parent 7be3d06 commit 2aa35e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.1
1+
1.2.2

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins() {
1111
}
1212

1313
this.group = "net.elytrium"
14-
this.version = "1.2.1"
14+
this.version = "1.2.2"
1515

1616
compileJava() {
1717
sourceCompatibility = 17

src/main/java/net/elytrium/velocitytools/hooks/HandshakeHook.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static void reload(PreparedPacketFactory factory) {
110110

111111
DISCONNECT_PACKET = factory
112112
.createPreparedPacket(ProtocolVersion.MINIMUM_VERSION, ProtocolVersion.MAXIMUM_VERSION)
113-
.prepare(version -> DisconnectPacket.create(kickReasonComponent, version, false));
113+
.prepare(version -> DisconnectPacket.create(kickReasonComponent, version, StateRegistry.PLAY));
114114

115115
DISABLE_INVALID_PROTOCOL = Settings.IMP.TOOLS.DISABLE_INVALID_PROTOCOL;
116116
} catch (NoSuchMethodException | NoSuchFieldException e) {

0 commit comments

Comments
 (0)