Skip to content

Commit

Permalink
fix: huskhomes home name error
Browse files Browse the repository at this point in the history
  • Loading branch information
DongShaoNB committed Aug 15, 2024
1 parent 632f0c5 commit 7ef6e1f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class HuskHomesForm {
player.chat("/delhome " + simpleFormResponse.clickedButton().text())
}
userHomes.thenAccept { homeList ->
homeList.forEach { form.button(it.identifier) }
homeList.forEach { form.button(it.name) }
BedrockPlayerSupport.floodgateApi.sendForm(player.uniqueId, form)
}
}
Expand All @@ -46,7 +46,7 @@ class HuskHomesForm {
player.chat("/home " + simpleFormResponse.clickedButton().text())
}
userHomes.thenAccept { homeList ->
homeList.forEach { form.button(it.identifier) }
homeList.forEach { form.button(it.name) }
BedrockPlayerSupport.floodgateApi.sendForm(player.uniqueId, form)
}
}
Expand All @@ -65,7 +65,7 @@ class HuskHomesForm {
player.chat("/warp " + simpleFormResponse.clickedButton().text())
}
warps.thenAccept { warpList ->
warpList.forEach { form.button(it.identifier) }
warpList.forEach { form.button(it.name) }
BedrockPlayerSupport.floodgateApi.sendForm(player.uniqueId, form)
}
}
Expand Down

0 comments on commit 7ef6e1f

Please sign in to comment.