diff --git a/build.gradle.kts b/build.gradle.kts index 75d06071..c0381862 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ var libraries = listOf() libraries = libraries + "cn.lunadeer:MinecraftPluginUtils:2.0.7" group = "cn.lunadeer" -version = "3.2.2-beta" +version = "3.2.3-beta" java { toolchain.languageVersion.set(JavaLanguageVersion.of(17)) diff --git a/core/src/main/java/cn/lunadeer/dominion/handler/DominionEventHandler.java b/core/src/main/java/cn/lunadeer/dominion/handler/DominionEventHandler.java index 725caa12..1712da7f 100644 --- a/core/src/main/java/cn/lunadeer/dominion/handler/DominionEventHandler.java +++ b/core/src/main/java/cn/lunadeer/dominion/handler/DominionEventHandler.java @@ -107,8 +107,6 @@ public void onDominionSizeChangeEvent(DominionSizeChangeEvent event) { event.getOperator().addResultHeader(AbstractOperator.ResultType.SUCCESS, Translation.Messages_ContractDominionSuccess, dominion.getName(), event.getSize()); event.getOperator().addResultHeader(AbstractOperator.ResultType.FAILURE, Translation.Messages_ContractDominionFailed); } - event.getOperator().addResultHeader(AbstractOperator.ResultType.SUCCESS, Translation.Messages_ExpandDominionSuccess, dominion.getName()); - event.getOperator().addResultHeader(AbstractOperator.ResultType.FAILURE, Translation.Messages_ExpandDominionFailed); if (notOwner(event.getOperator(), dominion)) { event.setCancelled(true, AbstractOperator.ResultType.FAILURE, Translation.Messages_NotDominionOwner, dominion.getName()); return;