Skip to content

Commit 6f9b340

Browse files
removed unnecessary <> in CommandBuilder instantiation
1 parent 46d77b5 commit 6f9b340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ import com.datasiqn.commandcore.command.builder.*;
7272

7373
public class GreetCommand {
7474
public CommandBuilder getCommand() {
75-
return new CommandBuilder<>()
75+
return new CommandBuilder()
7676
.description("Greets a player")
7777
.executes(context -> context.getSource().sendMessage("You ran this command with no arguments")) // Line 5
7878
.then(LiteralBuilder.literal("player")

0 commit comments

Comments
 (0)