Add isSneaking to SneakTrait

This commit is contained in:
fullwall 2023-06-08 20:57:44 +08:00
parent 2466677cc3
commit e3e1aed1b0

View File

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