diff --git a/engine/src/networking/com/jme3/network/Server.java b/engine/src/networking/com/jme3/network/Server.java index 5795abfb5..272cc8167 100644 --- a/engine/src/networking/com/jme3/network/Server.java +++ b/engine/src/networking/com/jme3/network/Server.java @@ -96,7 +96,7 @@ public interface Server /** * Retrieves a hosted connection by ID. */ - public HostedConnection getConnection( long id ); + public HostedConnection getConnection( int id ); /** * Retrieves a read-only collection of all currently connected connections. diff --git a/engine/src/networking/com/jme3/network/base/DefaultServer.java b/engine/src/networking/com/jme3/network/base/DefaultServer.java index d01d12063..ee9582769 100644 --- a/engine/src/networking/com/jme3/network/base/DefaultServer.java +++ b/engine/src/networking/com/jme3/network/base/DefaultServer.java @@ -168,7 +168,7 @@ public class DefaultServer implements Server } } - public HostedConnection getConnection( long id ) + public HostedConnection getConnection( int id ) { return connections.get(id); }