Missed some value manager references

This commit is contained in:
Nicholas Ignoffo 2018-02-06 21:27:23 -08:00
parent f8c734bc96
commit 50fd02b6aa
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ public class ItemDaggerOfSacrifice extends Item implements IVariantProvider {
EntityEntry entityEntry = EntityRegistry.getEntry(target.getClass());
if (entityEntry == null)
return false;
int lifeEssenceRatio = BloodMagicAPI.INSTANCE.getSacrificialValues().getOrDefault(entityEntry.getRegistryName(), 25);
int lifeEssenceRatio = BloodMagicAPI.INSTANCE.getValueManager().getSacrificial().getOrDefault(entityEntry.getRegistryName(), 25);
if (lifeEssenceRatio <= 0)
return false;