diff --git a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/FeedCommand.java b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/FeedCommand.java index 3f784546f..a5a3fee98 100644 --- a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/FeedCommand.java +++ b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/FeedCommand.java @@ -32,7 +32,7 @@ void execute(Player player) { .send(); } - @Execute + @Execute(required = 1) @Permission("eternalcore.feed.other") @DescriptionDocs(description = "Feed other player", arguments = "") void execute(Viewer viewer, @Arg Player target) { diff --git a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/HealCommand.java b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/HealCommand.java index ff36c220b..aef4fd6ff 100644 --- a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/HealCommand.java +++ b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/HealCommand.java @@ -30,7 +30,7 @@ void execute(Player player) { this.noticeService.player(player.getUniqueId(), translation -> translation.player().healMessage()); } - @Execute + @Execute(required = 1) @Permission("eternalcore.heal.other") @DescriptionDocs(description = "Heal other player", arguments = "") void execute(Viewer viewer, @Arg Player target) { diff --git a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/KillCommand.java b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/KillCommand.java index b22be8edd..bd8d92bc1 100644 --- a/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/KillCommand.java +++ b/eternalcore-core/src/main/java/com/eternalcode/core/feature/essentials/KillCommand.java @@ -33,7 +33,7 @@ void execute(Player player) { .send(); } - @Execute + @Execute(required = 1) @DescriptionDocs(description = "Kill specified player", arguments = "") void execute(Viewer audience, @Arg Player player) { player.setHealth(0);