Fix to Full Stomach ritual, adding new system for summoning registry

This commit is contained in:
WayofTime 2014-10-19 19:34:51 -04:00
parent 3360a4d85c
commit dc1357739b
15 changed files with 270 additions and 249 deletions

View file

@ -55,11 +55,11 @@ public class SummoningRegistry
return null;
}
public static EntityLivingBase getEntityWithID(World worldObj, int id)
public static EntityLivingBase getEntityWithID(World worldObj, String id)
{
for (SummoningRegistryComponent src : summoningList)
{
if (src.getSummoningHelperID() == id)
if (src.getSummoningHelperID().equals(id))
{
return src.getEntity(worldObj);
}