From 7ef6e1fd29cd33c4725ebe8dbc528c61458c7e9b Mon Sep 17 00:00:00 2001 From: DongShaoNB Date: Fri, 16 Aug 2024 07:49:50 +0800 Subject: [PATCH] fix: huskhomes home name error --- .../dsnb/bedrockplayersupport/form/basic/HuskHomesForm.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/HuskHomesForm.kt b/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/HuskHomesForm.kt index c4dba141..cd7013f0 100644 --- a/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/HuskHomesForm.kt +++ b/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/HuskHomesForm.kt @@ -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) } } @@ -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) } } @@ -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) } }