Fixed block sync not activating for multiplayer

This commit is contained in:
Anuken
2018-01-26 18:59:56 -05:00
parent 8e6f628f5b
commit cfd62a010c
5 changed files with 8 additions and 7 deletions

View File

@@ -78,8 +78,8 @@ public class Net{
}
/**Returns a list of all connections IDs.*/
public static Array<? extends NetConnection> getConnections(){
return serverProvider.getConnections();
public static Array<NetConnection> getConnections(){
return (Array<NetConnection>)serverProvider.getConnections();
}
/**Send an object to all connected clients, or to the server if this is a client.*/