Add 'fly' as an alias for Flight
This commit is contained in:
parent
45d97bacc9
commit
085c1d14f4
1 changed files with 5 additions and 0 deletions
|
@ -76,4 +76,9 @@ class Flight : Feature("Flight", FeatureCategory.MOVEMENT) {
|
||||||
override fun onDisable() {
|
override fun onDisable() {
|
||||||
player.abilities.flying = false
|
player.abilities.flying = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun createFeatureCommand() =
|
||||||
|
super.createFeatureCommand().apply {
|
||||||
|
alias("fly")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue