File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/java/me/loving11ish/redlightgreenlight Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >me.loving11ish</groupId >
88 <artifactId >RedLightGreenLight</artifactId >
9- <version >2.5.0 </version >
9+ <version >2.5.1 </version >
1010 <packaging >jar</packaging >
1111
1212 <name >RedLightGreenLight</name >
7070 <dependency >
7171 <groupId >org.spigotmc</groupId >
7272 <artifactId >spigot-api</artifactId >
73- <version >1.18.2 -R0.1-SNAPSHOT</version >
73+ <version >1.19 -R0.1-SNAPSHOT</version >
7474 <scope >provided</scope >
7575 </dependency >
7676 </dependencies >
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ public void onEnable() {
3636 //Server version compatibility check
3737 if (!(Bukkit .getServer ().getVersion ().contains ("1.13" )||Bukkit .getServer ().getVersion ().contains ("1.14" )||
3838 Bukkit .getServer ().getVersion ().contains ("1.15" )||Bukkit .getServer ().getVersion ().contains ("1.16" )||
39- Bukkit .getServer ().getVersion ().contains ("1.17" )||Bukkit .getServer ().getVersion ().contains ("1.18" ))){
39+ Bukkit .getServer ().getVersion ().contains ("1.17" )||Bukkit .getServer ().getVersion ().contains ("1.18" )||
40+ Bukkit .getServer ().getVersion ().contains ("1.19" ))){
4041 logger .warning (ChatColor .RED + "-------------------------------------------" );
4142 logger .warning (ChatColor .RED + "RedLightGreenLight - This plugin is only supported on the Minecraft versions listed below:" );
4243 logger .warning (ChatColor .RED + "RedLightGreenLight - 1.13.x" );
@@ -45,6 +46,7 @@ public void onEnable() {
4546 logger .warning (ChatColor .RED + "RedLightGreenLight - 1.16.x" );
4647 logger .warning (ChatColor .RED + "RedLightGreenLight - 1.17.x" );
4748 logger .warning (ChatColor .RED + "RedLightGreenLight - 1.18.x" );
49+ logger .warning (ChatColor .RED + "RedLightGreenLight - 1.19.x" );
4850 logger .warning (ChatColor .RED + "RedLightGreenLight - Is now disabling!" );
4951 logger .warning (ChatColor .RED + "-------------------------------------------" );
5052 Bukkit .getPluginManager ().disablePlugin (this );
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public static String translateColorCodes(String text){
1515 StringBuilder finalText = new StringBuilder ();
1616 for (int i = 0 ; i < texts .length ; i ++){
1717 if (texts [i ].equalsIgnoreCase ("&" )){
18- //get the next string
1918 i ++;
2019 if (texts [i ].charAt (0 ) == '#' ){
2120 finalText .append (net .md_5 .bungee .api .ChatColor .of (texts [i ].substring (0 , 7 )) + texts [i ].substring (7 ));
You can’t perform that action at this time.
0 commit comments