use of com.github.sirblobman.api.nms.MultiVersionHandler in project CombatLogX by SirBlobman.
the class Reward method getEntityName.
private String getEntityName(LivingEntity entity) {
ICombatLogX plugin = this.expansion.getPlugin();
MultiVersionHandler multiVersionHandler = plugin.getMultiVersionHandler();
EntityHandler entityHandler = multiVersionHandler.getEntityHandler();
return entityHandler.getName(entity);
}
Aggregations