use of net.dzikoysk.funnyguilds.nms.api.entity.FakeEntity in project FunnyGuilds by FunnyGuilds.
the class GuildEntityHelper method despawnGuildHeart.
public static void despawnGuildHeart(Guild guild, Player... players) {
try {
FakeEntity guildHeartEntity = ENTITY_MAP.get(guild);
if (guildHeartEntity == null) {
return;
}
FunnyGuilds.getInstance().getNmsAccessor().getEntityAccessor().despawnFakeEntityFor(guildHeartEntity, players);
} catch (Exception exception) {
FunnyGuilds.getPluginLogger().error("Could not despawn guild heart", exception);
}
}
Aggregations