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
|
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");
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue