Fix to Full Stomach ritual, adding new system for summoning registry
This commit is contained in:
parent
3360a4d85c
commit
dc1357739b
15 changed files with 270 additions and 249 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue