From 563d05caaf488311433712649160d09ba24c5363 Mon Sep 17 00:00:00 2001 From: D3v1s0m Date: Mon, 23 Oct 2023 13:15:36 +0530 Subject: [PATCH] Added command usage to near command --- plugin/src/main/java/lol/pyr/znpcsplus/commands/NearCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/commands/NearCommand.java b/plugin/src/main/java/lol/pyr/znpcsplus/commands/NearCommand.java index f9588cc..27d7f0a 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/commands/NearCommand.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/commands/NearCommand.java @@ -20,6 +20,7 @@ public class NearCommand implements CommandHandler { @Override public void run(CommandContext context) throws CommandExecutionException { + context.setUsage(context.getLabel() + " near "); Player player = context.ensureSenderIsPlayer(); int raw = context.parse(Integer.class); double radius = Math.pow(raw, 2);