Skip to content

Commit

Permalink
Merge pull request #14 from yommomabois/patch-1
Browse files Browse the repository at this point in the history
Update LivingEntityMixin.java
  • Loading branch information
jakeb072001 authored Jan 27, 2024
2 parents e904164 + 073fe8a commit c729f4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ private void invokeDoubleJump(CallbackInfo info) {
this.setDeltaMovement(vec3.x, d, vec3.z);
}
}

@Inject(at = @At("RETURN"), method = "getJumpBoostPower", cancellable = true)
public void addWerewolfJump(CallbackInfoReturnable<Double> info) {
public void addWerewolfJump(CallbackInfoReturnable<Float> info) {
LivingEntity self = (LivingEntity) (Object) this;
if (self.hasEffect(ModMobEffects.WEREWOLF)) {
info.setReturnValue(info.getReturnValue() + 0.1);
Expand Down

0 comments on commit c729f4e

Please sign in to comment.