Add 'fly' as an alias for Flight
parent
45d97bacc9
commit
085c1d14f4
|
@ -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 New Issue