Skip to content

Commit 276a7f4

Browse files
committed
Add abstract VaxCommand class for defining custom commands
Introduced a base class that extends Bukkit's Command to streamline the creation of custom commands. This simplifies command implementation by providing a standardized structure.
1 parent 37cb5ca commit 276a7f4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package de.varilx.command;
2+
3+
4+
import org.bukkit.command.Command;
5+
import org.jetbrains.annotations.NotNull;
6+
7+
public abstract class VaxCommand extends Command {
8+
9+
public VaxCommand(@NotNull String name) {
10+
super(name);
11+
}
12+
13+
}

0 commit comments

Comments
 (0)