- fix DefaultServer initialization, it would place a null in the channels list (tcp/udp channels) if there was no UPD poprt specified.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
9817fa4ef6
commit
fb68a176b5
@ -95,12 +95,11 @@ public class DefaultServer implements Server
|
||||
this.version = version;
|
||||
|
||||
reliableAdapter = new KernelAdapter( this, reliable, dispatcher, true );
|
||||
channels.add( reliableAdapter );
|
||||
if( fast != null ) {
|
||||
fastAdapter = new KernelAdapter( this, fast, dispatcher, false );
|
||||
channels.add( fastAdapter );
|
||||
}
|
||||
|
||||
channels.add( reliableAdapter );
|
||||
channels.add( fastAdapter );
|
||||
}
|
||||
|
||||
public String getGameName()
|
||||
|
Loading…
x
Reference in New Issue
Block a user