StevenRS11/DimDoors — pull request #112 by SenseiKiwi (2013-12-20 07:56:02+00:00)
Title: Fixed ClassCastException in DungeonPack

Fixed a bug in DungeonPack that would trigger a rare ClassCastException
during dungeon selection. We were comparing instances of DungeonType
against WeightedContainer. This wouldn't break dungeon
generation because DD falls back on selecting a random dungeon if
rule-based selection fails. It would allow duplicate dungeons to appear
in the same chain, though.