mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-29 12:37:40 +01:00
Show table prefix in a different colour
This commit is contained in:
parent
34873914bd
commit
207e4aa9f8
@ -176,7 +176,7 @@ public class MongoStorage implements StorageImplementation {
|
|||||||
if (!this.prefix.isEmpty()) {
|
if (!this.prefix.isEmpty()) {
|
||||||
meta.put(
|
meta.put(
|
||||||
Component.translatable("luckperms.command.info.storage.meta.collection-prefix-key"),
|
Component.translatable("luckperms.command.info.storage.meta.collection-prefix-key"),
|
||||||
Component.text(this.prefix)
|
Component.text(this.prefix, NamedTextColor.WHITE)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ import me.lucko.luckperms.common.util.Uuids;
|
|||||||
import me.lucko.luckperms.common.util.gson.GsonProvider;
|
import me.lucko.luckperms.common.util.gson.GsonProvider;
|
||||||
|
|
||||||
import net.kyori.adventure.text.Component;
|
import net.kyori.adventure.text.Component;
|
||||||
|
import net.kyori.adventure.text.format.NamedTextColor;
|
||||||
import net.luckperms.api.actionlog.Action;
|
import net.luckperms.api.actionlog.Action;
|
||||||
import net.luckperms.api.context.DefaultContextKeys;
|
import net.luckperms.api.context.DefaultContextKeys;
|
||||||
import net.luckperms.api.context.MutableContextSet;
|
import net.luckperms.api.context.MutableContextSet;
|
||||||
@ -237,7 +238,7 @@ public class SqlStorage implements StorageImplementation {
|
|||||||
if (!tablePrefix.equals("luckperms_")) {
|
if (!tablePrefix.equals("luckperms_")) {
|
||||||
meta.put(
|
meta.put(
|
||||||
Component.translatable("luckperms.command.info.storage.meta.table-prefix-key"),
|
Component.translatable("luckperms.command.info.storage.meta.table-prefix-key"),
|
||||||
Component.text(tablePrefix)
|
Component.text(tablePrefix, NamedTextColor.WHITE)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user