Add isSneaking to SneakTrait

This commit is contained in:
fullwall 2023-06-08 20:57:44 +08:00
parent 2466677cc3
commit e3e1aed1b0
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ public class SneakTrait extends Trait {
}
}
public boolean isSneaking() {
return sneaking;
}
@Override
public void onSpawn() {
apply();