Completely bypass enabled ritual map
This should work, but just in case.
This commit is contained in:
parent
932a767ecf
commit
60d44d7f89
|
@ -71,13 +71,8 @@ public class ImperfectRitualRegistry
|
|||
public static boolean ritualEnabled(ImperfectRitual imperfectRitual)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!enabledRituals.containsKey(imperfectRitual))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return enabledRituals.get(imperfectRitual);
|
||||
} catch (NullPointerException e)
|
||||
{
|
||||
BloodMagicAPI.getLogger().error("Invalid Imperfect Ritual was called");
|
||||
|
|
|
@ -66,14 +66,8 @@ public class RitualRegistry
|
|||
public static boolean ritualEnabled(Ritual ritual)
|
||||
{
|
||||
try
|
||||
{
|
||||
//TODO: Fix the Enabled Rituals map so that the config loads properly.
|
||||
if (!enabledRituals.containsKey(ritual))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return enabledRituals.get(ritual);
|
||||
} catch (NullPointerException e)
|
||||
{
|
||||
BloodMagicAPI.getLogger().error("Invalid Ritual was called");
|
||||
|
|
Loading…
Reference in a new issue