From 8b7fb7a7c5331018b8fc4cfdd23e6fc502ebd000 Mon Sep 17 00:00:00 2001 From: EpicPlayerA10 Date: Sat, 28 Aug 2021 21:10:56 +0200 Subject: [PATCH] Add missing husk --- src/main/java/net/minestom/server/entity/EntityTypeImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/minestom/server/entity/EntityTypeImpl.java b/src/main/java/net/minestom/server/entity/EntityTypeImpl.java index 3d89f8f1c..50c6eb833 100644 --- a/src/main/java/net/minestom/server/entity/EntityTypeImpl.java +++ b/src/main/java/net/minestom/server/entity/EntityTypeImpl.java @@ -23,6 +23,7 @@ import net.minestom.server.entity.metadata.monster.skeleton.SkeletonMeta; import net.minestom.server.entity.metadata.monster.skeleton.StrayMeta; import net.minestom.server.entity.metadata.monster.skeleton.WitherSkeletonMeta; import net.minestom.server.entity.metadata.monster.zombie.DrownedMeta; +import net.minestom.server.entity.metadata.monster.zombie.HuskMeta; import net.minestom.server.entity.metadata.monster.zombie.ZombieMeta; import net.minestom.server.entity.metadata.monster.zombie.ZombieVillagerMeta; import net.minestom.server.entity.metadata.monster.zombie.ZombifiedPiglinMeta; @@ -119,6 +120,7 @@ final class EntityTypeImpl implements EntityType { supplier.put("minecraft:guardian", GuardianMeta::new); supplier.put("minecraft:hoglin", HoglinMeta::new); supplier.put("minecraft:horse", HorseMeta::new); + supplier.put("minecraft:husk", HuskMeta::new); supplier.put("minecraft:illusioner", IllusionerMeta::new); supplier.put("minecraft:iron_golem", IronGolemMeta::new); supplier.put("minecraft:item", ItemEntityMeta::new);