Merge branch 'claude/fix-npc-spawn-biomes-hPE8Q' into dev

This commit is contained in:
Kam committed 2026-01-03 15:55:31 -05:00
commit a0de82b8e4
1 file changed
+4
@@ -262,6 +262,7 @@ public class GuiNpcNaturalSpawns extends GuiNPCInterface2 implements IGuiData, I
public void setSelected(String selected) {
}
@Override
public void closeSubGui(SubGuiInterface gui) {
super.closeSubGui(gui);
if (gui instanceof GuiNpcMobSpawnerSelector && this.spawnEntryScroll.hasSelected()) {
@@ -270,6 +271,9 @@ public class GuiNpcNaturalSpawns extends GuiNPCInterface2 implements IGuiData, I
this.spawn.spawnCompounds.put(selected, selector.getCompound());
initGui();
}
if (gui instanceof SubGuiNpcBiomes || gui instanceof SubGuiNpcDimensions || gui instanceof SubGuiSpawningOptions) {
save();
}
}
@Override