From 6eefa9cc52b5e94fbb7f01fcb1f5fa60dd461aee Mon Sep 17 00:00:00 2001 From: David Berdik Date: Fri, 27 Dec 2019 18:41:59 -0500 Subject: [PATCH] Minor comment adjustment to addCustomEntity in HerobrineAI --- src/org/jakub1221/herobrineai/HerobrineAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/jakub1221/herobrineai/HerobrineAI.java b/src/org/jakub1221/herobrineai/HerobrineAI.java index deab9bd..3eb6641 100644 --- a/src/org/jakub1221/herobrineai/HerobrineAI.java +++ b/src/org/jakub1221/herobrineai/HerobrineAI.java @@ -362,8 +362,8 @@ public class HerobrineAI extends JavaPlugin implements Listener { } } - // https://www.spigotmc.org/threads/handling-custom-entity-registry-on-spigot-1-13.353426/#post-3447111 private static void addCustomEntity(String customName, EntityTypes.b _func, EnumCreatureType enumCreatureType) { + // Registers a custom entity. Adapted from https://www.spigotmc.org/threads/handling-custom-entity-registry-on-spigot-1-13.353426/#post-3447111 EntityTypes.a entity = EntityTypes.a.a(_func, enumCreatureType); entity.b(); IRegistry.a(IRegistry.ENTITY_TYPE, customName, entity.a(customName));