File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed
src/main/java/me/rothes/protocolstringreplacer Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "Version_Channels" : {
33 "Stable" : {
4- "Latest_Version_Number" : 116 ,
4+ "Latest_Version_Number" : 117 ,
55 "Log_Level" : " Info" ,
66 "Actions" : [],
77 "Message" : {
8- "en-US" : " §bA new version of PSR (\" 2.19.2 \" ) is available!\n §bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/" ,
9- "zh-CN" : " §bProtocolStringReplacer 有新版本 (\" 2.19.2 \" ) 了!\n §b请更新您的插件: https://beta.mcbbs.net/resource/servermod/xmkw2tv1"
8+ "en-US" : " §bA new version of PSR (\" 2.19.3 \" ) is available!\n §bDownload here: https://www.spigotmc.org/resources/protocolstringreplacer.96573/" ,
9+ "zh-CN" : " §bProtocolStringReplacer 有新版本 (\" 2.19.3 \" ) 了!\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.19.2 </version >
9+ <version >2.19.3 </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 = 116 ;
32+ private static final int VERSION_NUMBER = 117 ;
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 @@ -56,11 +56,7 @@ public void onPacketSending(PacketEvent packetEvent) {
5656 if (!canWrite (packetEvent )) {
5757 return ;
5858 }
59- try {
60- process (packetEvent );
61- } catch (Throwable t ) {
62- t .printStackTrace ();
63- }
59+ process (packetEvent );
6460 if (readOnly ) {
6561 packetEvent .setReadOnly (readOnly );
6662 }
You can’t perform that action at this time.
0 commit comments