feat: support Minecraft 1.21

This commit is contained in:
William 2024-06-13 12:18:18 +01:00
parent c13d30b29a
commit 2dba7f2852
No known key found for this signature in database
2 changed files with 4 additions and 3 deletions

View File

@ -3,9 +3,9 @@ javaVersion=17
org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.daemon=true org.gradle.daemon=true
plugin_version=1.6.5 plugin_version=1.6.6
plugin_archive=velocitab plugin_archive=velocitab
plugin_description=A beautiful and versatile TAB list plugin for Velocity proxies plugin_description=A beautiful and versatile TAB list plugin for Velocity proxies
velocity_api_version=3.3.0 velocity_api_version=3.3.0
velocity_minimum_build=380 velocity_minimum_build=398

View File

@ -39,7 +39,8 @@ public class Protocol765Adapter extends Protocol404Adapter {
public Protocol765Adapter(@NotNull Velocitab plugin) { public Protocol765Adapter(@NotNull Velocitab plugin) {
super(plugin, Set.of( super(plugin, Set.of(
ProtocolVersion.MINECRAFT_1_20_3, ProtocolVersion.MINECRAFT_1_20_3,
ProtocolVersion.MINECRAFT_1_20_5 ProtocolVersion.MINECRAFT_1_20_5,
ProtocolVersion.MINECRAFT_1_21
)); ));
} }