Skip to content

Commit 646f953

Browse files
committed
a
1 parent 502ccd6 commit 646f953

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/cc/baka9/catseedlogin/bukkit/object/LoginPlayerHelper.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ public static boolean isRegister(String name){
7777
if (Config.Settings.BedrockLoginBypass && isFloodgatePlayer(name)){
7878
return true;
7979
}
80-
if (Config.Settings.LoginwiththesameIP && recordCurrentIP(name)){
81-
return true;
82-
}
8380
return Cache.getIgnoreCase(name) != null;
8481

8582
}
@@ -90,7 +87,7 @@ public static boolean recordCurrentIP(String name) {
9087
}
9188

9289
public static boolean recordCurrentIP(Player player) {
93-
return player.hasMetadata("LastLoginTime") && player.getMetadata("LastLoginTime").size() > 0;
90+
return true;
9491
}
9592

9693

0 commit comments

Comments
 (0)