    001package co.aikar.commands;
    002
    003import org.spongepowered.api.command.CommandSource;
    004import org.spongepowered.api.entity.living.player.Player;
    005
    006public class SpongeConditionContext extends ConditionContext <SpongeCommandIssuer> {
    007    SpongeConditionContext(SpongeCommandIssuer issuer, String config) {
    008        super(issuer, config);
    009    }
    010
    011
    012    public CommandSource getSource() {
    013        return getIssuer().getIssuer();
    014    }
    015
    016    public Player getPlayer() {
    017        return getIssuer().getPlayer();
    018    }
    019}