diff --git a/src/main/java/exopandora/worldhandler/builder/argument/EntitySummonArgument.java b/src/main/java/exopandora/worldhandler/builder/argument/EntitySummonArgument.java index ea945fd..1d3e1bd 100644 --- a/src/main/java/exopandora/worldhandler/builder/argument/EntitySummonArgument.java +++ b/src/main/java/exopandora/worldhandler/builder/argument/EntitySummonArgument.java @@ -68,8 +68,9 @@ public class EntitySummonArgument implements IDeserializableArgument if(entity != null) { EntityType type = ForgeRegistries.ENTITIES.getValue(entity); + ResourceLocation location = ForgeRegistries.ENTITIES.getKey(type); - if(type != null) + if(!ForgeRegistries.ENTITIES.getDefaultKey().equals(location) || location.equals(entity)) { this.set(type); }