Fix apotheosis mixin conflict (#595)
This commit is contained in:
parent
49f8cc9bab
commit
8f1c0e4c92
|
@ -951,7 +951,7 @@ public abstract class LivingEntityMixin extends EntityMixin implements LivingEnt
|
||||||
public void arclight$muteDamageArmor(LivingEntity entity, DamageSource damageSource, float damage) {
|
public void arclight$muteDamageArmor(LivingEntity entity, DamageSource damageSource, float damage) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Redirect(method = "getDamageAfterMagicAbsorb", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/entity/LivingEntity;hasEffect(Lnet/minecraft/world/effect/MobEffect;)Z"))
|
@Redirect(method = "getDamageAfterMagicAbsorb", require = 0, at = @At(value = "INVOKE", target = "Lnet/minecraft/world/entity/LivingEntity;hasEffect(Lnet/minecraft/world/effect/MobEffect;)Z"))
|
||||||
public boolean arclight$mutePotion(LivingEntity livingEntity, MobEffect potionIn) {
|
public boolean arclight$mutePotion(LivingEntity livingEntity, MobEffect potionIn) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user