Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating for Velocity 3.0.0 #183

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Change from Command to SimpleCommand
benfoster04 authored Jul 21, 2021
commit 3d2485c01cb11090aea86ce936dc55c405378ac1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.buycraft.plugin.velocity;

import com.velocitypowered.api.command.Command;
import com.velocitypowered.api.command.SimpleCommand;
import com.velocitypowered.api.command.CommandSource;
import net.buycraft.plugin.velocity.command.Subcommand;
import net.kyori.adventure.text.Component;
@@ -11,7 +11,7 @@
import java.util.LinkedHashMap;
import java.util.Map;

public class BuycraftCommand implements Command {
public class BuycraftCommand implements SimpleCommand {
private final Map<String, Subcommand> subcommandMap = new LinkedHashMap<>();
private final BuycraftPlugin plugin;