Update LivingEntityMixin.java
This commit is contained in:
parent
56c267ec0e
commit
3281264c85
1 changed files with 2 additions and 2 deletions
|
@ -63,8 +63,8 @@ public abstract class LivingEntityMixin extends Entity {
|
||||||
private Entity lastAttacker;
|
private Entity lastAttacker;
|
||||||
|
|
||||||
@Inject(method = "createLivingAttributes", at = @At("RETURN"), cancellable = true)
|
@Inject(method = "createLivingAttributes", at = @At("RETURN"), cancellable = true)
|
||||||
private static void be_createLivingAttributes(CallbackInfoReturnable<AttributeSupplier.Builder> info) {
|
private static void be_addLivingAttributes(CallbackInfoReturnable<AttributeSupplier.Builder> info) {
|
||||||
info.setReturnValue(EndAttributes.addLivingEntityAttributes(info.getReturnValue()));
|
EndAttributes.addLivingEntityAttributes(info.getReturnValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(method = "tickEffects", at = @At("HEAD"))
|
@Inject(method = "tickEffects", at = @At("HEAD"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue