Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed Jul 13, 2021
2 parents 15704e9 + 4a954da commit 1e6f2cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Java CI with Gradle

on:
push:
branches: [ main ]
branches: [ main, kotlin-rewrite ]
pull_request:
branches: [ main ]
branches: [ main, kotlin-rewrite ]

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void updateManually(ServerData server) {
}

if (serverUpdateStatus.getOrDefault(server.serverIP, false)) serverPlayerCount = null;
else if (!server.populationInfo.equals("")) {
else if (!("".equals(server.populationInfo))) {
String[] splitPopulationInfo = GuiUtils.stripFormattingCodes(server.populationInfo).split("/");

serverPlayerCount = Integer.parseInt(splitPopulationInfo[0]);
Expand Down

0 comments on commit 1e6f2cb

Please sign in to comment.