aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/example/commands/ClientCommandBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/example/commands/ClientCommandBase.java')
-rw-r--r--src/main/java/com/example/commands/ClientCommandBase.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/java/com/example/commands/ClientCommandBase.java b/src/main/java/com/example/commands/ClientCommandBase.java
deleted file mode 100644
index 566fb6e..0000000
--- a/src/main/java/com/example/commands/ClientCommandBase.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.example.commands;
-
-import net.minecraft.command.CommandBase;
-import net.minecraft.command.ICommandSender;
-
-public abstract class ClientCommandBase extends CommandBase {
- private final String name;
-
- protected ClientCommandBase(String name) {
- this.name = name;
- }
-
- @Override
- public String getCommandName() {
- return name;
- }
-
- @Override
- public String getCommandUsage(ICommandSender sender) {
- return "/" + name;
- }
-
- @Override
- public boolean canCommandSenderUseCommand(ICommandSender sender) {
- return true;
- }
-}