From d9b28850b49e00f83ab7cfa7c2daf32ab2958e4d Mon Sep 17 00:00:00 2001 From: DongShaoNB Date: Thu, 22 Aug 2024 17:32:45 +0800 Subject: [PATCH] fix: CMI wrong delete home command --- .../kotlin/cc/dsnb/bedrockplayersupport/form/basic/CMIForm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/CMIForm.kt b/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/CMIForm.kt index 4633b26..ebefcc5 100644 --- a/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/CMIForm.kt +++ b/src/main/kotlin/cc/dsnb/bedrockplayersupport/form/basic/CMIForm.kt @@ -22,7 +22,7 @@ class CMIForm { ) ) .validResultHandler { simpleFormResponse -> - player.chat("/delhome ${simpleFormResponse.clickedButton().text()}") + player.chat("/removehome ${simpleFormResponse.clickedButton().text()}") } playerHomesList.forEach { form.button(it.key) } BedrockPlayerSupport.floodgateApi.sendForm(player.uniqueId, form)