Skip to content

Commit

Permalink
fix fire breathing in spectator
Browse files Browse the repository at this point in the history
  • Loading branch information
afamiliarquiet committed Jul 3, 2024
1 parent 72c0d99 commit 1c3924a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/afamiliarquiet/util/MawUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

public class MawUtils {
public static boolean canBreathe(LivingEntity entity) {
return isDraconicTfed(entity) || canBreatheNaturally(entity);
return (isDraconicTfed(entity) || canBreatheNaturally(entity)) && !entity.isSpectator();
}

public static boolean canBreatheNaturally(LivingEntity entity) {
Expand Down

0 comments on commit 1c3924a

Please sign in to comment.