fancyvisuals: Use correct placeholders for initial nametags

This commit is contained in:
Oliver
2025-05-17 15:16:09 +02:00
parent 685e652ca9
commit 95179e854b

View File

@@ -76,19 +76,19 @@ public class JsonNametagRepository implements NametagRepository {
NametagStore worldStore = getStore(Context.WORLD);
worldStore.setNametag("world", new Nametag(
List.of("Overworld", "%player%"),
List.of("Overworld", "%player_name%"),
"#C800AA00",
true,
Nametag.TextAlignment.CENTER
));
worldStore.setNametag("world_nether", new Nametag(
List.of("Nether", "%player%"),
List.of("Nether", "%player_name%"),
"#C8AA0000",
true,
Nametag.TextAlignment.CENTER
));
worldStore.setNametag("world_the_end", new Nametag(
List.of("The End", "%player%"),
List.of("The End", "%player_name%"),
"#C80000AA",
true,
Nametag.TextAlignment.CENTER
@@ -96,13 +96,13 @@ public class JsonNametagRepository implements NametagRepository {
NametagStore groupStore = getStore(Context.GROUP);
groupStore.setNametag("admin", new Nametag(
List.of("Admin", "%player%"),
List.of("Admin", "%player_name%"),
"#C8FF0000",
true,
Nametag.TextAlignment.CENTER
));
groupStore.setNametag("moderator", new Nametag(
List.of("Mod", "%player%"),
List.of("Mod", "%player_name%"),
"#C8FFAA00",
true,
Nametag.TextAlignment.CENTER
@@ -110,7 +110,7 @@ public class JsonNametagRepository implements NametagRepository {
NametagStore playerStore = getStore(Context.PLAYER);
playerStore.setNametag(UUID.randomUUID().toString(), new Nametag(
List.of("Player", "%player%"),
List.of("Player", "%player_name%"),
"#C800FF00",
true,
Nametag.TextAlignment.CENTER