001package co.aikar.commands; 002 003import com.velocitypowered.api.command.CommandSource; 004import com.velocitypowered.api.proxy.Player; 005 006public class VelocityConditionContext extends ConditionContext <VelocityCommandIssuer> { 007 VelocityConditionContext(VelocityCommandIssuer issuer, String config) { 008 super(issuer, config); 009 } 010 011 012 public CommandSource getSender() { 013 return getIssuer().getIssuer(); 014 } 015 016 public Player getPlayer() { 017 return getIssuer().getPlayer(); 018 } 019}