Fixed CommandCreateDungeonRift

Forgot to fix a reference to DungeonHelper in CommandCreateDungeonRift
during the last commit. Made some further improvements to DungeonHelper
to avoid exposing internal variables.
This commit is contained in:
SenseiKiwi
2013-08-01 00:05:08 -04:00
parent 5ddf2c636f
commit a174ad4b29
2 changed files with 26 additions and 15 deletions

View File

@@ -69,10 +69,10 @@ public class CommandCreateDungeonRift extends DDCommandBase
}
else
{
result = findDungeonByPartialName(command[0], dungeonHelper.registeredDungeons);
result = findDungeonByPartialName(command[0], dungeonHelper.getRegisteredDungeons());
if (result == null)
{
result = findDungeonByPartialName(command[0], dungeonHelper.customDungeons);
result = findDungeonByPartialName(command[0], dungeonHelper.getUntaggedDungeons());
}
//Check if we found any matches
if (result != null)