misc: Removed version check

This commit is contained in:
Adrian 2023-06-27 19:55:30 -05:00
parent 32360cc099
commit 37b7b615ba
No known key found for this signature in database
GPG Key ID: FB8EF84DCE1BE452
2 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,5 @@
group = io.github.4drian3d group = io.github.4drian3d
version = 4.0.2 version = 4.0.3-SNAPSHOT
description = AuthMeReloaded Support for Velocity description = AuthMeReloaded Support for Velocity
url = https://modrinth.com/plugin/authmevelocity url = https://modrinth.com/plugin/authmevelocity
id = authmevelocity id = authmevelocity

View File

@ -20,7 +20,6 @@ package io.github._4drian3d.authmevelocity.velocity.listener.input;
import com.google.inject.Inject; import com.google.inject.Inject;
import com.velocitypowered.api.event.EventManager; import com.velocitypowered.api.event.EventManager;
import com.velocitypowered.api.event.EventTask; import com.velocitypowered.api.event.EventTask;
import com.velocitypowered.api.network.ProtocolVersion;
import com.velocitypowered.api.proxy.Player; import com.velocitypowered.api.proxy.Player;
import com.velocitypowered.proxy.protocol.packet.TabCompleteResponse; import com.velocitypowered.proxy.protocol.packet.TabCompleteResponse;
import io.github._4drian3d.authmevelocity.velocity.AuthMeVelocityPlugin; import io.github._4drian3d.authmevelocity.velocity.AuthMeVelocityPlugin;
@ -45,9 +44,6 @@ public final class CompletionPacketListener implements Listener<PacketSendEvent>
return null; return null;
} }
final Player player = event.getPlayer(); final Player player = event.getPlayer();
if (player.getProtocolVersion().compareTo(ProtocolVersion.MINECRAFT_1_13) < 0) {
return null;
}
return EventTask.async(() -> { return EventTask.async(() -> {
if (plugin.isLogged(player)) { if (plugin.isLogged(player)) {
plugin.logDebug("PacketSendEvent | TabCompleteResponse | Player is already logged"); plugin.logDebug("PacketSendEvent | TabCompleteResponse | Player is already logged");