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