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