Update BisectHosting.java

This commit is contained in:
libraryaddict 2023-06-25 23:00:39 +12:00 committed by GitHub
parent 2683887444
commit b51dbbe6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ import java.net.URL;
public class BisectHosting {
public boolean isBisectHosted(String pluginName) {
boolean claimedHosted = DisguiseConfig.isBisectHosted();
String ip = Bukkit.getIp();
String ip = Bukkit.getIp() + "";
String parsedIP = ip.replaceAll("[^:\\d.]", "");
// If not hosted by bisect