Jump to content

Recommended Posts

Posted

Oen Java File

 

npcTemplate.java

 

 

Find This piece

 

public int getNpcId()
{
	return npcId;
}

public int getNameId()
{
	return nameId;
}

public int getTitleId()
{
	return titleId;
}

public String getName()
{
	return name;
}

 

 

and Relace with

 

public int compareTo(Object o) getNpcId()
{       ColorNpcId c = (red)o;
	return npcId().compareTo(c.getnpcId());;
}
            
public int compareTo(Object o) getNameId()
{       ColorNameId c = (red)o;
	return nameId().compareTo(c.getnameId());
}

public int compareTo(Object o) getTitleId()
{       ColorTitleId c = (red)o;
	return titleId().compareTo(c.gettitleId());
}

public String compareTo(Object o) getName()
{       ColorName c = (red)o;
	return name().comporareto(c.getname);
}

 

 

Credits: ShinKaZaMa 

 

NOTE: not Tested i dont have Time  to test

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...