Skip to content

Commit 1badf9c

Browse files
committed
Bump plugin version -> 2.17.2
1 parent 8225add commit 1badf9c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Version Infos.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"Log_Level": "Info",
66
"Actions": [],
77
"Message": {
8-
"en-US": "§bA new version of PSR (\"2.17.1\") is available!\n§bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/",
9-
"zh-CN": "§bProtocolStringReplacer 有新版本 (\"2.17.1\") 了!\n§b请更新您的插件: https://beta.mcbbs.net/resource/servermod/xmkw2tv1"
8+
"en-US": "§bA new version of PSR (\"2.17.2\") is available!\n§bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/",
9+
"zh-CN": "§bProtocolStringReplacer 有新版本 (\"2.17.2\") 了!\n§b请更新您的插件: https://beta.mcbbs.net/resource/servermod/xmkw2tv1"
1010
}
1111
}
1212
},
@@ -15,6 +15,7 @@
1515
"Log_Level": "Info",
1616
"Actions": [],
1717
"Message_Times": 1,
18+
"Notify_In_Game": false,
1819
"Message": {
1920
"en-US": "§bEnjoy PSR? Join our Discord: https://discord.gg/zwzzkmYCBb",
2021
"zh-CN": "§b喜欢PSR吗? 欢迎加入我们的 QQ群: 422532220 !"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.rothes</groupId>
88
<artifactId>ProtocolStringReplacer</artifactId>
9-
<version>2.17.1</version>
9+
<version>2.17.2</version>
1010
<packaging>jar</packaging>
1111

1212
<repositories>

src/main/java/me/rothes/protocolstringreplacer/Updater.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
public class Updater implements Listener {
2929

3030
private static final String VERSION_CHANNEL = "Stable";
31-
private static final int VERSION_NUMBER = 107;
31+
private static final int VERSION_NUMBER = 108;
3232
private final HashMap<String, Integer> msgTimesMap = new HashMap<>();
3333
private final List<String> messages = new ArrayList<>();
3434
private final ProtocolStringReplacer plugin;
@@ -118,6 +118,7 @@ private String getJson() {
118118
}
119119

120120
private void checkJson(String json) {
121+
@SuppressWarnings("deprecation") // For legacy server supports
121122
JsonElement element = new JsonParser().parse(json);
122123
JsonObject root = element.getAsJsonObject();
123124
JsonObject channels = root.getAsJsonObject("Version_Channels");

0 commit comments

Comments
 (0)