diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java index 100d84ae..0930d30d 100644 --- a/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java +++ b/src/main/java/org/bukkit/craftbukkit/command/VanillaCommandWrapper.java @@ -22,16 +22,9 @@ import org.bukkit.entity.minecart.CommandMinecart; public final class VanillaCommandWrapper extends VanillaCommand { protected final CommandAbstract vanillaCommand; - public VanillaCommandWrapper(CommandAbstract vanillaCommand) { - super(vanillaCommand.getCommand()); - this.vanillaCommand = vanillaCommand; - } - public VanillaCommandWrapper(CommandAbstract vanillaCommand, String usage) { - super(vanillaCommand.getCommand()); + super(vanillaCommand.getCommand(), "A Mojang provided command.", usage, vanillaCommand.b()); // PAIL: rename this.vanillaCommand = vanillaCommand; - this.description = "A Mojang provided command."; - this.usageMessage = usage; this.setPermission("minecraft.command." + vanillaCommand.getCommand()); } |