File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
src/main/java/me/rothes/protocolstringreplacer Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 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 },
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 !"
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 2828public 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" );
You can’t perform that action at this time.
0 commit comments