Add Alu-Hut

This commit is contained in:
2025-03-31 22:37:55 +02:00
parent c4e9f80315
commit b37ded3a8d
@@ -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()) {