File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
src/main/java/me/rothes/protocolstringreplacer Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "Version_Channels" : {
33 "Stable" : {
4- "Latest_Version_Number" : 113 ,
4+ "Latest_Version_Number" : 114 ,
55 "Log_Level" : " Info" ,
66 "Actions" : [],
77 "Message" : {
8- "en-US" : " §bA new version of PSR (\" 2.18.1 \" ) is available!\n §bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/" ,
9- "zh-CN" : " §bProtocolStringReplacer 有新版本 (\" 2.18.1 \" ) 了!\n §b请更新您的插件: https://beta.mcbbs.net/resource/servermod/xmkw2tv1"
8+ "en-US" : " §bA new version of PSR (\" 2.19.0 \" ) is available!\n §bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/" ,
9+ "zh-CN" : " §bProtocolStringReplacer 有新版本 (\" 2.19.0 \" ) 了!\n §b请更新您的插件: https://beta.mcbbs.net/resource/servermod/xmkw2tv1"
1010 }
1111 }
1212 },
Original file line number Diff line number Diff line change 66
77 <groupId >me.rothes</groupId >
88 <artifactId >ProtocolStringReplacer</artifactId >
9- <version >2.18.2-DEV </version >
9+ <version >2.19.0 </version >
1010 <packaging >jar</packaging >
1111
1212 <repositories >
Original file line number Diff line number Diff line change 2929public class Updater implements Listener {
3030
3131 private static final String VERSION_CHANNEL = "Stable" ;
32- private static final int VERSION_NUMBER = 113 ;
32+ private static final int VERSION_NUMBER = 114 ;
3333 private final HashMap <String , Integer > msgTimesMap = new HashMap <>();
3434 private final List <String > messages = new ArrayList <>();
3535 private final ProtocolStringReplacer plugin ;
Original file line number Diff line number Diff line change 88
99public class PsrScheduler {
1010
11+ private static final ProtocolStringReplacer PLUGIN = ProtocolStringReplacer .getInstance ();
12+ private static final boolean FOLIA = PLUGIN .isFolia ();
13+
1114 private PsrScheduler () {
1215
1316 }
14- private static final ProtocolStringReplacer PLUGIN = ProtocolStringReplacer .getInstance ();
15- private static final boolean FOLIA = PLUGIN .isFolia ();
1617
1718 public static PsrTask runTaskTimerAsynchronously (Runnable runnable , long delay , long period ) {
1819 if (FOLIA ) {
You can’t perform that action at this time.
0 commit comments