mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-22 12:05:23 +01:00
Removed debug print
This commit is contained in:
parent
758dc93bc7
commit
c202c4c3ca
@ -28,11 +28,6 @@ public class ViaForgeVersionProvider extends BaseVersionProvider {
|
||||
@Override
|
||||
public int getClosestServerProtocol(UserConnection connection) throws Exception {
|
||||
if (connection.isClientSide() && !ViaForgeCommon.getManager().getPlatform().isSingleplayer().get()) {
|
||||
try {
|
||||
System.out.println(connection.getChannel().attr(ViaForgeCommon.VF_NETWORK_MANAGER).get());
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return connection.getChannel().attr(ViaForgeCommon.VF_NETWORK_MANAGER).get().viaForge$getTrackedVersion().getVersion();
|
||||
}
|
||||
return super.getClosestServerProtocol(connection);
|
||||
|
Loading…
Reference in New Issue
Block a user