Skip to content

Commit

Permalink
Merge branch '1.20.2' into 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Jun 10, 2024
2 parents 525cd79 + 349aa05 commit 8f5fc60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public boolean isResult() {
}

public boolean isSilent() {
return this == NOT_EMITTER;
return this == NOT_EMITTER || state.isAir();
}

public boolean dataEquals(Association other) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/eu/ha3/presencefootsteps/world/PFSolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private Association findAssociation(AssociationPool associations, LivingEntity p
return Association.of(state, pos.down(), player, SoundsKey.WATERFINE, SoundsKey.NON_EMITTER, SoundsKey.NON_EMITTER);
}

return Association.NOT_EMITTER;
return association;
}

private Association findAssociation(AssociationPool associations, LivingEntity entity, BlockPos.Mutable pos, Box collider) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ public boolean isSilent() {
}

public boolean isEmitter() {
return isResult() && !isSilent();
return !isSilent();
}
}

0 comments on commit 8f5fc60

Please sign in to comment.