geforkt von Mirrors/Paper
Do not send plugin headers when it is not required (#8889)
Dieser Commit ist enthalten in:
Ursprung
751beefa8e
Commit
4ad4252079
@ -54,4 +54,5 @@ vytskalt <vytskalt@protonmail.com>
|
||||
TheFruxz <cedricspitzer@outlook.de>
|
||||
Kieran Wallbanks <kieran.wallbanks@gmail.com>
|
||||
Denery <dorofeevij@gmail.com>
|
||||
Jakubk15 <jakubk15@protonmail.com>
|
||||
```
|
||||
|
@ -229,11 +229,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ //.append(INFO_ICON_START.hoverEvent(SERVER_PLUGIN_INFO)); TODO: Add docs
|
||||
+
|
||||
+ sender.sendMessage(infoMessage);
|
||||
+ sender.sendMessage(PAPER_HEADER);
|
||||
+
|
||||
+ if (!paperPlugins.isEmpty()) {
|
||||
+ sender.sendMessage(PAPER_HEADER);
|
||||
+ }
|
||||
+
|
||||
+ for (Component component : formatProviders(paperPlugins)) {
|
||||
+ sender.sendMessage(component);
|
||||
+ }
|
||||
+ sender.sendMessage(BUKKIT_HEADER);
|
||||
+
|
||||
+ if (!spigotPlugins.isEmpty()) {
|
||||
+ sender.sendMessage(BUKKIT_HEADER);
|
||||
+ }
|
||||
+
|
||||
+ for (Component component : formatProviders(spigotPlugins)) {
|
||||
+ sender.sendMessage(component);
|
||||
+ }
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren