Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #686 from book000/fix/via-version-2
Browse files Browse the repository at this point in the history
fix: #685 JSON形式とコードに差異があったので修正
  • Loading branch information
book000 authored Jan 30, 2022
2 parents 6c87e57 + a80f183 commit c2627df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void run() {
return;
}

String version = obj.getJSONObject(ver).getString("name");
String version = obj.getString(ver);

if (!version.equals("1.18.1")) {
player.sendMessage(Component.text().append(
Expand Down

0 comments on commit c2627df

Please sign in to comment.