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
{
if (!enabledRituals.containsKey(imperfectRitual))
{
return true;
}
return enabledRituals.get(imperfectRitual);
return true;
} catch (NullPointerException e)
{
BloodMagicAPI.getLogger().error("Invalid Imperfect Ritual was called");

View file

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