Skip to content

Commit abc9940

Browse files
committed
fix(HologramCommand): Arguments
Fixed the check for the required arguments. (again)
1 parent fb37cc6 commit abc9940

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/georgev22/voterewards/commands/HologramCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ public void execute(@NotNull CommandSender sender, String[] args) {
8080

8181
MinecraftUtils.msg(sender, "&a&l(!) &aHologram " + args[1] + " successfully removed!");
8282
} else if (args[0].equalsIgnoreCase("update")) {
83-
if (args.length < 2) {
83+
if (args.length < 3) {
84+
MinecraftUtils.msg(sender, "&c&l(!) &c/vrh update <hologram> <config lines name>");
8485
return;
8586
}
8687
if (voteRewardPlugin.getHolograms().hologramExists(args[1])) {

0 commit comments

Comments
 (0)