mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-09 17:14:43 +02:00
style: Javadoc fixup
This commit is contained in:
Bukkit
Core/src/main/java/com/plotsquared/core
@ -100,5 +100,6 @@ tasks {
|
||||
opt.links("https://jd.adventure.kyori.net/api/4.9.3/")
|
||||
opt.links("https://google.github.io/guice/api-docs/5.0.1/javadoc/")
|
||||
opt.links("https://checkerframework.org/api/")
|
||||
opt.links("https://notmyfault.github.io/MiniMessage-Javadocs/") // Temporary hosting until Kyori adds hosted Javadocs
|
||||
}
|
||||
}
|
||||
|
@ -733,7 +733,7 @@ public class PlayerEventListener extends PlotListener implements Listener {
|
||||
Placeholder<?> plotTemplate = Placeholder.miniMessage("plot_id", id.toString());
|
||||
Placeholder<?> senderTemplate = Placeholder.miniMessage("sender", sender);
|
||||
// If we do/don't want colour, we need to be careful about how to go about it, as players could attempt either <gold></gold> or &6 etc.
|
||||
// In both cases, we want to use a Component Template to ensure that the player cannot use any of in their message on purpose
|
||||
// In both cases, we want to use a Component Template to ensure that the player cannot use any placeholders in their message on purpose
|
||||
// or accidentally, as component templates are done at the end. We also need to deserialize from legacy color codes to a Component if
|
||||
// allowing colour.
|
||||
if (plotPlayer.hasPermission("plots.chat.color")) {
|
||||
|
Reference in New Issue
Block a user