From b37ded3a8dafc2cafbfbffed97c82daef8fae976 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Mon, 31 Mar 2025 22:37:55 +0200 Subject: [PATCH] Add Alu-Hut --- LobbySystem/src/de/steamwar/lobby/listener/PlayerSpawn.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LobbySystem/src/de/steamwar/lobby/listener/PlayerSpawn.java b/LobbySystem/src/de/steamwar/lobby/listener/PlayerSpawn.java index 3ca809c1..dd7fcb8f 100644 --- a/LobbySystem/src/de/steamwar/lobby/listener/PlayerSpawn.java +++ b/LobbySystem/src/de/steamwar/lobby/listener/PlayerSpawn.java @@ -46,6 +46,7 @@ public class PlayerSpawn extends BasicListener { public static final ItemStack PARTICLE = new ItemBuilder(Material.NAME_TAG).setDisplayName("§6Partikel").setUnbreakable(true).removeAllAttributes().build(); private static final ItemStack ELYTRA = new ItemBuilder(Material.ELYTRA).setDisplayName("§5Elytra").setUnbreakable(true).removeAllAttributes().build(); public static final ItemStack NETHER_STAR = new ItemBuilder(Material.NETHER_STAR).setDisplayName("§5Teleporter").setUnbreakable(true).removeAllAttributes().build(); + public static final ItemStack ALU_HUT = new ItemBuilder(Material.CHAINMAIL_HELMET).setDisplayName("§8ALU Hut").setUnbreakable(true).removeAllAttributes().build(); @EventHandler(priority = EventPriority.HIGH) public void onJoin(PlayerJoinEvent e) { @@ -71,6 +72,7 @@ public class PlayerSpawn extends BasicListener { inventory.clear(); inventory.setItem(EquipmentSlot.CHEST, ELYTRA); + inventory.setItem(EquipmentSlot.HEAD, ALU_HUT); int offset = 0; if (AdventsCalendar.active()) {