mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 09:00:28 +08:00
Remove fml from join addresses
This commit is contained in:
parent
9a536f5a04
commit
5d2cbbd9cb
@ -89,6 +89,9 @@ public class PlayerOnlineListener implements Listener {
|
|||||||
if (address.contains("\u0000")) {
|
if (address.contains("\u0000")) {
|
||||||
address = address.substring(0, address.indexOf('\u0000'));
|
address = address.substring(0, address.indexOf('\u0000'));
|
||||||
}
|
}
|
||||||
|
if (address.contains("fml")) {
|
||||||
|
address = address.substring(0, address.lastIndexOf("fml"));
|
||||||
|
}
|
||||||
joinAddressCache.put(playerUUID, address);
|
joinAddressCache.put(playerUUID, address);
|
||||||
}
|
}
|
||||||
dbSystem.getDatabase().executeTransaction(new BanStatusTransaction(playerUUID, serverUUID, banned));
|
dbSystem.getDatabase().executeTransaction(new BanStatusTransaction(playerUUID, serverUUID, banned));
|
||||||
|
Loading…
Reference in New Issue
Block a user