From fd791ea98d1fd27f407cfd63d553030dbd284d34 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 1 Dec 2024 00:13:08 +0100 Subject: [PATCH] Update AdventCommand --- .../src/de/steamwar/lobby/special/advent/AdventCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LobbySystem/src/de/steamwar/lobby/special/advent/AdventCommand.java b/LobbySystem/src/de/steamwar/lobby/special/advent/AdventCommand.java index efbac117..28b06419 100644 --- a/LobbySystem/src/de/steamwar/lobby/special/advent/AdventCommand.java +++ b/LobbySystem/src/de/steamwar/lobby/special/advent/AdventCommand.java @@ -25,6 +25,7 @@ import de.steamwar.inventory.SWItem; import de.steamwar.inventory.SWListInv; import de.steamwar.lobby.LobbySystem; import de.steamwar.sql.NodeMember; +import de.steamwar.sql.SchematicNode; import de.steamwar.sql.SteamwarUser; import org.bukkit.Material; import org.bukkit.entity.Player; @@ -72,6 +73,7 @@ public class AdventCommand extends SWCommand { item = SWItem.getPlayerSkull(random.nextBoolean() ? "MHF_Present1" : "MHF_Present2"); } else { item = new SWItem(Material.CHEST, ""); + item.setLore(List.of("§e>>>§7 " + SchematicNode.getSchematicNode(present.getSchematicId()).getName())); } item.setName(LobbySystem.getMessage().parse("ADVENT_CALENDAR_DAY", player, present.getDay())); itemList.add(new SWListInv.SWListEntry<>(item, present));