Completely bypass enabled ritual map
This should work, but just in case.
This commit is contained in:
parent
932a767ecf
commit
60d44d7f89
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue