diff --git a/src/main/java/pojlib/API.java b/src/main/java/pojlib/API.java index 65271770..e4897192 100644 --- a/src/main/java/pojlib/API.java +++ b/src/main/java/pojlib/API.java @@ -199,7 +199,7 @@ public static boolean removeAccount(Activity activity, String uuid) { * * @param activity Android activity object */ - public static void login(Activity activity, String accountUUID) + public static void login(Activity activity, @Nullable String accountUUID) { ConnectivityManager connManager = (ConnectivityManager) activity.getSystemService(Context.CONNECTIVITY_SERVICE); NetworkCapabilities capabilities = connManager.getNetworkCapabilities(connManager.getActiveNetwork());