File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
src/main/java/cz/foresttech/api Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 77[ ![ badge] ( https://img.shields.io/discord/896466173166747650?label=discord )] ( https://discord.gg/2PpdrfxhD4 )
88[ ![ badge] ( https://img.shields.io/github/license/ForestTechMC/ForestColorAPI )] ( https://github.com/ForestTechMC/ForestColorAPI/blob/master/LICENSE.txt )
99
10- ** [ JavaDoc 1.3 ] ( https://foresttechmc.github.io/ForestColorAPI/1.3 / ) **
10+ ** [ JavaDoc 1.4 ] ( https://foresttechmc.github.io/ForestColorAPI/1.4 / ) **
1111
1212Small and effective Color API for your plugins.\
1313Only 1.16+ version of spigot support!
Original file line number Diff line number Diff line change 66
77 <groupId >cz.foresttech</groupId >
88 <artifactId >ForestColorAPI</artifactId >
9- <version >1.3 </version >
9+ <version >1.4 </version >
1010
1111 <properties >
1212 <maven .compiler.source>17</maven .compiler.source>
Original file line number Diff line number Diff line change @@ -147,7 +147,9 @@ public static String colorizeGradient(String input) {
147147 String text = matcher .group (1 );
148148 matcher .appendReplacement (output , "{#" + text + "<}{#" + text + ">}" );
149149 }
150- input = String .valueOf (output );
150+ matcher .appendTail (output );
151+
152+ input = output .toString ();
151153
152154 matcher = patternGrad .matcher (input );
153155 while (matcher .find ()) {
You can’t perform that action at this time.
0 commit comments