mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 04:13:44 +07:00
augh
This commit is contained in:
parent
925d19d867
commit
fc673de556
@ -399,7 +399,7 @@ public class Net{
|
||||
closeServer();
|
||||
}
|
||||
|
||||
/** If a connecting ip doesn't match the filter it will be kicked. */
|
||||
void setConnectFilter(Server.ServerConnectFilter connectFilter);
|
||||
/** Sets a connection filter by IP address. If the filter returns {@code false}, the connection will be closed. */
|
||||
default void setConnectFilter(Server.ServerConnectFilter connectFilter){}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user