From 9e01c8067963e1a8ab763b0a9d5028d191cbdd92 Mon Sep 17 00:00:00 2001 From: bconlon Date: Tue, 12 Nov 2024 16:30:18 -0800 Subject: [PATCH] fix: valkyrie queen not unlocking dungeon --- .../aether/entity/monster/dungeon/boss/ValkyrieQueen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/aetherteam/aether/entity/monster/dungeon/boss/ValkyrieQueen.java b/src/main/java/com/aetherteam/aether/entity/monster/dungeon/boss/ValkyrieQueen.java index ff81b119c..4c5c314d9 100644 --- a/src/main/java/com/aetherteam/aether/entity/monster/dungeon/boss/ValkyrieQueen.java +++ b/src/main/java/com/aetherteam/aether/entity/monster/dungeon/boss/ValkyrieQueen.java @@ -124,7 +124,7 @@ public ValkyrieQueen(EntityType type, Level level) { public SpawnGroupData finalizeSpawn(ServerLevelAccessor level, DifficultyInstance difficulty, MobSpawnType reason, @Nullable SpawnGroupData spawnData) { this.setBossName(BossNameGenerator.generateValkyrieName(this.getRandom())); // Set the bounds for the whole dungeon. - if (reason == MobSpawnType.CHUNK_GENERATION) { + if (reason == MobSpawnType.STRUCTURE) { StructureManager manager = level.getLevel().structureManager(); manager.registryAccess().registry(Registries.STRUCTURE).ifPresent(registry -> { Structure temple = registry.get(AetherStructures.SILVER_DUNGEON);