public boolean onInteract(Player p) {
return this.a(((CraftPlayer) p).getHandle());
}
@Override
public boolean a(EntityHuman human) {
<BUG>if (human.getBukkitEntity() == this.getPlayerOwner().getPlayer()) {
if (EchoPet.getConfig().getBoolean("pets." + this.getPet().getPetType().toString().toLowerCase().replace("_", " ") + ".interactMenu", true) && Perm.BASE_MENU.hasPerm(this.getPlayerOwner(), false, false)) {</BUG>
ArrayList<MenuOption> options = MenuUtil.createOptionList(getPet().getPetType());
int size = this.getPet().getPetType() == PetType.HORSE ? 18 : 9;
PetMenu menu = new PetMenu(getPet(), options, size);

public boolean onInteract(Player p) {
return this.a(((CraftPlayer) p).getHandle());
}
@Override
public boolean a(EntityHuman human) {
if (IdentUtil.areIdentical((Player) human.getBukkitEntity(), getPlayerOwner())) {
if (EchoPet.getConfig().getBoolean("pets." + this.getPet().getPetType().toString().toLowerCase().replace("_", " ") + ".interactMenu", true) && Perm.BASE_MENU.hasPerm(this.getPlayerOwner(), false, false)) {
ArrayList<MenuOption> options = MenuUtil.createOptionList(getPet().getPetType());
int size = this.getPet().getPetType() == PetType.HORSE ? 18 : 9;
PetMenu menu = new PetMenu(getPet(), options, size);
