Removed all usages of PleaseStopUsingMe

This commit is contained in:
Nicholas Ignoffo 2018-03-17 22:30:14 -07:00
parent 77e5beb9e1
commit f535e331dd
10 changed files with 21 additions and 34 deletions

View file

@ -2,7 +2,7 @@ package WayofTime.bloodmagic.potion;
import WayofTime.bloodmagic.api.impl.BloodMagicAPI;
import WayofTime.bloodmagic.util.Constants;
import WayofTime.bloodmagic.util.PleaseStopUsingMe;
import WayofTime.bloodmagic.util.DamageSourceBloodMagic;
import WayofTime.bloodmagic.util.helper.NBTHelper;
import WayofTime.bloodmagic.recipe.alchemyTable.AlchemyTablePotionAugmentRecipe;
import net.minecraft.block.Block;
@ -67,7 +67,7 @@ public class BMPotionUtils {
}
if (incurredDamage > 0) {
entity.attackEntityFrom(PleaseStopUsingMe.damageSource, (float) incurredDamage);
entity.attackEntityFrom(DamageSourceBloodMagic.INSTANCE, (float) incurredDamage);
}
return incurredDamage;