Minor Tweaks

This commit is contained in:
StevenRS11
2014-01-26 13:39:09 -05:00
parent 415a3c29d7
commit d52f0ed2c7
6 changed files with 29 additions and 23 deletions

View File

@@ -135,7 +135,7 @@ public class DungeonPack
//for dungeon packs that can extend arbitrarily deep. We should probably set a reasonable limit anyway.
int maxSearchLength = config.allowDuplicatesInChain() ? maxRuleLength : MAX_HISTORY_LENGTH;
ArrayList<DungeonData> history = DungeonHelper.getDungeonChainHistory(dimension.parent(), this, maxSearchLength);
ArrayList<DungeonData> history = DungeonHelper.getDungeonChainHistory(dimension, this, maxSearchLength);
return getNextDungeon(history, random);
}