Adventure

Co-authored-by: zml <zml@stellardrift.ca>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Yannick Lamprecht <yannicklamprecht@live.de>
This commit is contained in:
Riley Park
2021-01-29 17:21:55 +01:00
parent 8888031206
commit 15081a5912
70 changed files with 3298 additions and 160 deletions

View File

@@ -179,6 +179,13 @@ public interface Plugin extends TabExecutor {
@NotNull
public Logger getLogger();
// Paper start - Adventure component logger
@NotNull
default net.kyori.adventure.text.logger.slf4j.ComponentLogger getComponentLogger() {
return net.kyori.adventure.text.logger.slf4j.ComponentLogger.logger(getLogger().getName());
}
// Paper end
/**
* Returns the name of the plugin.
* <p>