Jump to content
  • 0

Clan Leader Color Doesnt Work :P


Question

Posted

Look How Is My Code...

 

That Is In Enterworld.java

if (Config.CLAN_LEADER_COLOR_ENABLED)
	{
		if (activeChar.getClan() != null && activeChar.isClanLeader()&& activeChar.getClan().getLevel() >= Config.CLAN_LEVEL)
			activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR);
	}

 

And Config..

CLAN_LEADER_COLOR_ENABLED = Boolean.parseBoolean(L2JACDCSettings.getProperty("ClanLeaderEnable", "False"));
CLAN_LEADER_COLOR = Integer.decode("0x"+ L2JACDCSettings.getProperty("ClanLeaderColor", "fa0fa0"));
CLAN_LEVEL = Integer.decode("0x"+ L2JACDCSettings.getProperty("ClanLeaderColorAtClanLevel", "6"));

 

So ...Can You See Any Problem On That Code? Cuz I Have Error In Console + Doesnt Work :D

3 answers to this question

Recommended Posts

  • 0
Posted

Look How Is My Code...

 

That Is In Enterworld.java

if (Config.CLAN_LEADER_COLOR_ENABLED)
	{
		if (activeChar.getClan() != null && activeChar.isClanLeader()&& activeChar.getClan().getLevel() >= Config.CLAN_LEVEL)
			activeChar.getAppearance().setNameColor(Config.CLAN_LEADER_COLOR);
	}

 

And Config..

CLAN_LEADER_COLOR_ENABLED = Boolean.parseBoolean(L2JACDCSettings.getProperty("ClanLeaderEnable", "False"));
CLAN_LEADER_COLOR = Integer.decode("0x"+ L2JACDCSettings.getProperty("ClanLeaderColor", "fa0fa0"));
CLAN_LEVEL = Integer.decode("0x"+ L2JACDCSettings.getProperty("ClanLeaderColorAtClanLevel", "6"));

 

So ...Can You See Any Problem On That Code? Cuz I Have Error In Console + Doesnt Work :D

Post console errors ..

Guest
This topic is now closed to further replies.


×
×
  • 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