Skip to content

Commit

Permalink
Add isSneaking to SneakTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jun 8, 2023
1 parent 2466677 commit e3e1aed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/src/main/java/net/citizensnpcs/trait/SneakTrait.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ private void apply() {
}
}

public boolean isSneaking() {
return sneaking;
}

@Override
public void onSpawn() {
apply();
Expand Down

0 comments on commit e3e1aed

Please sign in to comment.