// This is here to eliminate repetitive code above
private void updateAbilities(boolean updateClient) {
if (!updateClient || !(getOwner() instanceof Player)) {
return;
}
((Player) getOwner()).getNetwork().callProtocolEvent(new PlayerAbilityUpdateEvent((Player) getOwner()));
}