Skip to content

Commit

Permalink
change log level to info and make it single line
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed Nov 22, 2023
1 parent 48b5852 commit 49505ea
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ public static boolean isReservedCommonChannel(Identifier channelName) {

static {
if (FORCE_PACKET_SERIALIZATION) {
LOGGER.warn("Force Packet Serialization is enabled");
if (FabricLoader.getInstance().isDevelopmentEnvironment()) LOGGER.warn("This is the default on dev env");
LOGGER.warn("Disable it with -Dfabric-api.networking.force-packet-serialization=false");
LOGGER.info("Force Packet Serialization is enabled to mimic remote connection on single player, this is the default behaviour on dev env. Add -Dfabric-api.networking.force-packet-serialization=false JVM arg to disable it.");
}
}
}

0 comments on commit 49505ea

Please sign in to comment.