mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-10 00:41:17 -07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a2356d74aa
1 changed files with 2 additions and 0 deletions
|
|
@ -94,7 +94,9 @@ public class ArcNetProvider implements NetProvider{
|
|||
server.setMulticast(multicastGroup, multicastPort);
|
||||
server.setDiscoveryHandler((address, handler) -> {
|
||||
ByteBuffer buffer = NetworkIO.writeServerData();
|
||||
int length = buffer.position();
|
||||
buffer.position(0);
|
||||
buffer.limit(length);
|
||||
handler.respond(buffer);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue