You're lucky I'm in a good mood ori

This commit is contained in:
okx-code
2024-02-21 22:29:33 +00:00
parent 452a2313c9
commit 3622363f3e

View File

@@ -45,7 +45,7 @@ public class SnitchOverviewGUI {
// Base the snitch icon on the snitch type
final var icon = snitch.getType().getItem().clone();
ItemUtils.handleItemMeta(icon, (ItemMeta meta) -> {
meta.displayName(Component.text(snitch.getName()).color(NamedTextColor.GOLD));
meta.displayName(Component.text(snitch.getName(), NamedTextColor.GOLD));
final var location = snitch.getLocation();
List<Component> lore = new ArrayList<>();
lore.add(ChatUtils.newComponent("Location: ").color(NamedTextColor.AQUA)