Fix ..... wtf
This commit is contained in:
parent
8fa71dd5c3
commit
852e6456a6
|
@ -25,6 +25,6 @@ public abstract class FireworkRocketEntityMixin extends EntityMixin {
|
||||||
|
|
||||||
@Inject(method = "dealExplosionDamage", at = @At(value = "INVOKE", shift = At.Shift.AFTER, target = "Lnet/minecraft/entity/LivingEntity;attackEntityFrom(Lnet/minecraft/util/DamageSource;F)Z"))
|
@Inject(method = "dealExplosionDamage", at = @At(value = "INVOKE", shift = At.Shift.AFTER, target = "Lnet/minecraft/entity/LivingEntity;attackEntityFrom(Lnet/minecraft/util/DamageSource;F)Z"))
|
||||||
private void arclight$damageSourceReset(CallbackInfo ci) {
|
private void arclight$damageSourceReset(CallbackInfo ci) {
|
||||||
CraftEventFactory.entityDamage = (FireworkRocketEntity) (Object) this;
|
CraftEventFactory.entityDamage = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user