Skip to content

Commit b0a962a

Browse files
committed
Inline PaperCommandRegistration constructor
1 parent 79baf5b commit b0a962a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-core/src/main/java/dev/jorel/commandapi/PaperCommandRegistration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ public class PaperCommandRegistration<Source> extends CommandRegistrationStrateg
2222
// Store registered commands nodes for eventual reloads
2323
private final RootCommandNode<Source> registeredNodes = new RootCommandNode<>();
2424

25-
public PaperCommandRegistration(
26-
Supplier<CommandDispatcher<Source>> getBrigadierDispatcher, Predicate<CommandNode<Source>> isBukkitCommand
27-
) {
25+
public PaperCommandRegistration(Supplier<CommandDispatcher<Source>> getBrigadierDispatcher, Predicate<CommandNode<Source>> isBukkitCommand) {
2826
this.getBrigadierDispatcher = getBrigadierDispatcher;
2927
this.isBukkitCommand = isBukkitCommand;
3028
}

0 commit comments

Comments
 (0)