diff --git a/build.gradle b/build.gradle index 9acdbd9..ee545ca 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'io.github.chronosx88' -version '0.2.5' +version '0.2.6' sourceCompatibility = 1.8 diff --git a/src/main/java/io/github/chronosx88/JGUN/nodes/GunSuperPeer.java b/src/main/java/io/github/chronosx88/JGUN/nodes/GunSuperPeer.java index 75c70bc..653b4f6 100644 --- a/src/main/java/io/github/chronosx88/JGUN/nodes/GunSuperPeer.java +++ b/src/main/java/io/github/chronosx88/JGUN/nodes/GunSuperPeer.java @@ -18,7 +18,7 @@ public class GunSuperPeer extends WebSocketServer implements Peer { public GunSuperPeer(int port, StorageBackend storageBackend) { super(new InetSocketAddress(port)); setReuseAddr(true); - dispatcher = new Dispatcher(graph, this, dup); + dispatcher = new Dispatcher(storageBackend, this, dup); this.graph = storageBackend; }