Fixed Entity extended properties init order. Closes #1532

This commit is contained in:
Lex Manos committed 2014-11-29 23:03:26 -08:00
1 parent 6bb769268f
commit d6d4735a70
2 files changed
+11 -24

No files matched your search

@@ -293,20 +293,6 @@ public class ForgeEventFactory
return event.name;
}
public static HashMap<String, IExtendedEntityProperties> onEntityConstructing(Entity entity, World world)
{
HashMap<String, IExtendedEntityProperties> ret = new HashMap<String, IExtendedEntityProperties>();
MinecraftForge.EVENT_BUS.post(new EntityEvent.EntityConstructing(entity));
for (IExtendedEntityProperties props : ret.values())
{
props.init(entity, world);
}
return ret;
}
public static int onItemExpire(EntityItem entity, ItemStack item)
{
if (item == null) return -1;