Jump to content

[Share] Conquerable Locations Mod


Matim

Recommended Posts

  • 4 months later...

I have problem on compilation this files , a have a Freya L2j Files

[javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\model\actor\instance\L2CrystalInstance.java:695: error: setReputationScore(int,boolean) has private access in L2Clan
    [javac] 				player.getClan().setReputationScore(player.getClan().getReputationScore() - price, true);   
    [javac] 				                ^
    [javac] D:\SOURCE\trunk\Core\java\com\l2jserver\gameserver\model\actor\instance\L2CrystalInstance.java:702: error: setReputationScore(int,boolean) has private access in L2Clan
    [javac] 				player.getClan().setReputationScore(player.getClan().getReputationScore() - price, true);   
    [javac] 				                ^
    [javac] 2 errors

 

int current = _warningCount;
			_warningCount = current + count;
			player.getClan().setReputationScore(player.getClan().getReputationScore() - price, true);   
			player.sendPacket(new CreatureSay(0, Say2.PARTY, "Crystal", "Successfully purchased " + count + " warnings!"));
		}
		else if (abilitiId == 2)
		{
			int current = _defenceSpawnCount;
			_defenceSpawnCount = current + count;
			player.getClan().setReputationScore(player.getClan().getReputationScore() - price, true);   
			player.sendPacket(new CreatureSay(0, Say2.PARTY, "Crystal", "Successfully purchased " + count + " Defence Abilities!"));

Link to comment
Share on other sites

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...