Skip to content

Commit

Permalink
Merge pull request #7 from Sitrica/beta
Browse files Browse the repository at this point in the history
1.1.2
  • Loading branch information
TheLimeGlass authored Jul 22, 2020
2 parents c16dc53 + 5e87f47 commit 186f69d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {

jar.archiveName = project.name + '.jar'
// Add SNAPSHOT to make this publish as a beta.
version '1.1.1'
version '1.1.2'

sourceCompatibility = 1.8

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sitrica/japson/client/JapsonClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public JapsonClient(InetAddress address, int port, Gson gson) {
HeartbeatPacket packet = new HeartbeatPacket(password, port);
executor.scheduleAtFixedRate(() -> {
try {
Boolean success = sendPacket(packet);
Boolean success = sendPacket(address, port, packet, gson);
if (check && success)
valid = true;
} catch (TimeoutException | InterruptedException | ExecutionException e) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sitrica/japson/server/JapsonServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public JapsonServer setMaxReconnectAttempts(long reconnect) {
return this;
}

public Japson registerListeners(Listener... listeners) {
public JapsonServer registerListeners(Listener... listeners) {
this.listeners.addAll(Sets.newHashSet(listeners));
return this;
}
Expand Down

0 comments on commit 186f69d

Please sign in to comment.