Add 'fly' as an alias for Flight

main
Charlotte Som 2022-02-03 22:02:35 +00:00
parent 45d97bacc9
commit 085c1d14f4
1 changed files with 5 additions and 0 deletions

View File

@ -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")
}
} }