File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
common/src/main/java/dev/terminalmc/autoreconnectrf Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 2.0.1-debug.1
3+ ## 2.0.1-debug.2
44
55- Added debug logging
66
Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ public static void onConfigSaved(Config config) {
108108 public static void onScreenChanged (@ Nullable Screen current , @ Nullable Screen next ) {
109109 if (isSameType (current , next ))
110110 return ;
111+ if (debug ())
112+ AutoReconnect .LOG .info (
113+ "Changing screen from {} to {}" ,
114+ current == null ? "null" : current .getClass ().getSimpleName (),
115+ next == null ? "null" : next .getClass ().getSimpleName ()
116+ );
111117 if (!isMainScreen (current ) && isMainScreen (next ) || isReAuthenticating (current , next )) {
112118 cancelAutoReconnect ();
113119 }
Original file line number Diff line number Diff line change 1010template_version =4
1111
1212# Mod Version
13- mod_version =2.0.1-debug.1
13+ mod_version =2.0.1-debug.2
1414# 'STABLE', 'BETA' or 'ALPHA'
1515mod_version_type =STABLE
1616
You can’t perform that action at this time.
0 commit comments