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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock