Made rainbow-prefix not random for APIformatter
This commit is contained in:
parent
d7285f71de
commit
d4a7587642
|
@ -36,7 +36,7 @@ public class ApiOutputManager implements ApiFormatter {
|
|||
|
||||
@Override
|
||||
public TextComponent getRainbowPluginPrefix() {
|
||||
return prideComponentFactory.pluginPrefix();
|
||||
return prideComponentFactory.rainbowPrefix();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -61,6 +61,10 @@ public class PrideComponentFactory extends ComponentFactory {
|
|||
if (randomizer.nextBoolean()) {
|
||||
return backwardsPluginPrefixComponent();
|
||||
}
|
||||
return rainbowPrefix();
|
||||
}
|
||||
|
||||
public TextComponent rainbowPrefix() {
|
||||
return text()
|
||||
.append(MiniMessage.miniMessage()
|
||||
.deserialize("<#f74040>[</#f74040>" +
|
||||
|
|
Loading…
Reference in New Issue