mirror of
https://github.com/ChronosX88/JGUN.git
synced 2024-11-23 23:12:18 +00:00
Fixed null when creating GunSuperPeer (storage is null in dispatcher)
This commit is contained in:
parent
2617e8b7cd
commit
908a652503
@ -4,7 +4,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group 'io.github.chronosx88'
|
group 'io.github.chronosx88'
|
||||||
version '0.2.5'
|
version '0.2.6'
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ public class GunSuperPeer extends WebSocketServer implements Peer {
|
|||||||
public GunSuperPeer(int port, StorageBackend storageBackend) {
|
public GunSuperPeer(int port, StorageBackend storageBackend) {
|
||||||
super(new InetSocketAddress(port));
|
super(new InetSocketAddress(port));
|
||||||
setReuseAddr(true);
|
setReuseAddr(true);
|
||||||
dispatcher = new Dispatcher(graph, this, dup);
|
dispatcher = new Dispatcher(storageBackend, this, dup);
|
||||||
this.graph = storageBackend;
|
this.graph = storageBackend;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user