34 lines
1.1 KiB
Java
34 lines
1.1 KiB
Java
/*
|
|
* Copyright (c) 2013-present RedisBungee contributors
|
|
*
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
* which accompanies this distribution, and is available at
|
|
*
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
*/
|
|
|
|
package com.imaginarycode.minecraft.redisbungee.commands.legacy;
|
|
|
|
import co.aikar.commands.CommandIssuer;
|
|
import co.aikar.commands.annotation.CommandAlias;
|
|
import co.aikar.commands.annotation.CommandPermission;
|
|
import co.aikar.commands.annotation.Default;
|
|
import com.imaginarycode.minecraft.redisbungee.commands.utils.AdventureBaseCommand;
|
|
|
|
@CommandAlias("pproxy")
|
|
@CommandPermission("redisbungee.command.pproxy")
|
|
public class CommandPProxy extends AdventureBaseCommand {
|
|
private final LegacyRedisBungeeCommands rootCommand;
|
|
|
|
public CommandPProxy(LegacyRedisBungeeCommands rootCommand) {
|
|
this.rootCommand = rootCommand;
|
|
}
|
|
|
|
@Default
|
|
public void playerProxy(CommandIssuer issuer, String[] args) {
|
|
this.rootCommand.playerProxy(issuer,args);
|
|
}
|
|
|
|
}
|