Completely bypass enabled ritual map

This should work, but just in case.
This commit is contained in:
Nick 2016-01-31 15:44:07 -08:00
parent 932a767ecf
commit 60d44d7f89
2 changed files with 2 additions and 13 deletions

View file

@ -72,12 +72,7 @@ public class ImperfectRitualRegistry
{ {
try try
{ {
if (!enabledRituals.containsKey(imperfectRitual)) return true;
{
return true;
}
return enabledRituals.get(imperfectRitual);
} catch (NullPointerException e) } catch (NullPointerException e)
{ {
BloodMagicAPI.getLogger().error("Invalid Imperfect Ritual was called"); BloodMagicAPI.getLogger().error("Invalid Imperfect Ritual was called");

View file

@ -67,13 +67,7 @@ public class RitualRegistry
{ {
try try
{ {
//TODO: Fix the Enabled Rituals map so that the config loads properly. return true;
if (!enabledRituals.containsKey(ritual))
{
return true;
}
return enabledRituals.get(ritual);
} catch (NullPointerException e) } catch (NullPointerException e)
{ {
BloodMagicAPI.getLogger().error("Invalid Ritual was called"); BloodMagicAPI.getLogger().error("Invalid Ritual was called");