mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-07-01 09:04:50 +02:00
Fixed javadoc errors
This commit is contained in:
parent
36011b5ff9
commit
f9d1794e79
|
@ -52,7 +52,7 @@ class BukkitPartBuilder implements MessageBuilder {
|
|||
try {
|
||||
nextPart.part.appendLegacy(text);
|
||||
} catch (NoSuchMethodError oldVersion) { // not supported in 1.8
|
||||
nextPart.part.append(ChatColor.translateAlternateColorCodes('§', text));
|
||||
nextPart.part.append(ChatColor.translateAlternateColorCodes('\u00a7', text));
|
||||
}
|
||||
return nextPart;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ import java.util.function.Supplier;
|
|||
* - mappers are stateless type transformers in memory
|
||||
* <p>
|
||||
* Example use-case:
|
||||
* - PlayerJoinEvent -> mapped to a generic event
|
||||
* - PlayerJoinEvent is mapped to a generic event
|
||||
* - that generic event is then consumed and mapped until the data is in a database.
|
||||
* <p>
|
||||
* - Some kind of data is wanted to place on a web page
|
||||
|
|
|
@ -22,6 +22,6 @@ public class ConsoleChatFormatter extends ChatFormatter {
|
|||
|
||||
@Override
|
||||
public int getWidth(String part) {
|
||||
return part.length() - (StringUtils.countMatches(part, '§') * 2);
|
||||
return part.length() - (StringUtils.countMatches(part, '\u00a7') * 2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user