Skip to content

Commit

Permalink
Removed debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Dec 8, 2023
1 parent 758dc93 commit c202c4c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c202c4c

Please sign in to comment.