Jump to content
  • 0

[question] adapt this import


Question

Posted

hello mxc i wanted to ask you a question to be sure.

 

import net.sf.l2j.gameserver.model.L2Skill;

 

in freya l2j server this import is this?

com.l2jserver.gameserver.templates.skills.L2SkillType

 

or this

com.l2jserver.gameserver.model.L2Skill

 

thanks for reply!

5 answers to this question

Recommended Posts

  • 0
Posted

l2skilltype is something different from l2skill.

its this

com.l2jserver.gameserver.model.L2Skill

 

sorry forget to place a portion of import at the end. I wanted to ask was which.

import net.sf.l2j.gameserver.model.L2Skill.SkillType;

 

then this is

com.l2jserver.gameserver.templates.skills.L2SkillType

or not?

  • 0
Posted

i need some help with adapt this to l2jserver freya.

 

Index: java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- java/net/sf/l2j/gameserver/GameServer.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/GameServer.java	(working copy)
@@ -199,6 +199,7 @@
import net.sf.l2j.gameserver.handler.usercommandhandlers.PartyInfo;
import net.sf.l2j.gameserver.handler.usercommandhandlers.Time;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding;
+import net.sf.l2j.gameserver.handler.voicedcommandhandlers.sellbuff;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats;
import net.sf.l2j.gameserver.idfactory.IdFactory;
import net.sf.l2j.gameserver.instancemanager.AuctionManager;
@@ -592,6 +593,7 @@

		_voicedCommandHandler = VoicedCommandHandler.getInstance();
		_voicedCommandHandler.registerVoicedCommandHandler(new stats());
+		_voicedCommandHandler.registerVoicedCommandHandler(new sellbuff());

		if(Config.L2JMOD_ALLOW_WEDDING)
			_voicedCommandHandler.registerVoicedCommandHandler(new Wedding());

I have no idea how to adapt to the gameserver.

Guest
This topic is now closed to further replies.


×
×
  • Create New...