Player action handlers loaded by MasterHandler.
Contributed by Sahar.
This commit is contained in:
parent
30b66340af
commit
dbe9d31264
@ -34,6 +34,7 @@ import com.l2jmobius.gameserver.handler.ChatHandler;
|
||||
import com.l2jmobius.gameserver.handler.CommunityBoardHandler;
|
||||
import com.l2jmobius.gameserver.handler.IHandler;
|
||||
import com.l2jmobius.gameserver.handler.ItemHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PunishmentHandler;
|
||||
import com.l2jmobius.gameserver.handler.TargetHandler;
|
||||
import com.l2jmobius.gameserver.handler.UserCommandHandler;
|
||||
@ -204,6 +205,30 @@ import handlers.itemhandlers.SoulShots;
|
||||
import handlers.itemhandlers.SpecialXMas;
|
||||
import handlers.itemhandlers.SpiritShot;
|
||||
import handlers.itemhandlers.SummonItems;
|
||||
import handlers.playeractions.AirshipAction;
|
||||
import handlers.playeractions.BotReport;
|
||||
import handlers.playeractions.InstanceZoneInfo;
|
||||
import handlers.playeractions.PetAttack;
|
||||
import handlers.playeractions.PetHold;
|
||||
import handlers.playeractions.PetMove;
|
||||
import handlers.playeractions.PetSkillUse;
|
||||
import handlers.playeractions.PetStop;
|
||||
import handlers.playeractions.PrivateStore;
|
||||
import handlers.playeractions.Ride;
|
||||
import handlers.playeractions.RunWalk;
|
||||
import handlers.playeractions.ServitorAttack;
|
||||
import handlers.playeractions.ServitorHold;
|
||||
import handlers.playeractions.ServitorMode;
|
||||
import handlers.playeractions.ServitorMove;
|
||||
import handlers.playeractions.ServitorSkillUse;
|
||||
import handlers.playeractions.ServitorStop;
|
||||
import handlers.playeractions.SitStand;
|
||||
import handlers.playeractions.SocialAction;
|
||||
import handlers.playeractions.TacticalSignTarget;
|
||||
import handlers.playeractions.TacticalSignUse;
|
||||
import handlers.playeractions.TeleportBookmark;
|
||||
import handlers.playeractions.UnsummonPet;
|
||||
import handlers.playeractions.UnsummonServitor;
|
||||
import handlers.punishmenthandlers.BanHandler;
|
||||
import handlers.punishmenthandlers.ChatBanHandler;
|
||||
import handlers.punishmenthandlers.JailHandler;
|
||||
@ -304,6 +329,7 @@ public class MasterHandler
|
||||
TargetHandler.getInstance(),
|
||||
AffectObjectHandler.getInstance(),
|
||||
AffectScopeHandler.getInstance(),
|
||||
PlayerActionHandler.getInstance()
|
||||
};
|
||||
|
||||
private static final Class<?>[][] HANDLERS =
|
||||
@ -590,6 +616,32 @@ public class MasterHandler
|
||||
SquarePB.class,
|
||||
StaticObjectScope.class,
|
||||
SummonExceptMaster.class,
|
||||
},
|
||||
{
|
||||
AirshipAction.class,
|
||||
BotReport.class,
|
||||
InstanceZoneInfo.class,
|
||||
PetAttack.class,
|
||||
PetHold.class,
|
||||
PetMove.class,
|
||||
PetSkillUse.class,
|
||||
PetStop.class,
|
||||
PrivateStore.class,
|
||||
Ride.class,
|
||||
RunWalk.class,
|
||||
ServitorAttack.class,
|
||||
ServitorHold.class,
|
||||
ServitorMode.class,
|
||||
ServitorMove.class,
|
||||
ServitorSkillUse.class,
|
||||
ServitorStop.class,
|
||||
SitStand.class,
|
||||
SocialAction.class,
|
||||
TacticalSignTarget.class,
|
||||
TacticalSignUse.class,
|
||||
TeleportBookmark.class,
|
||||
UnsummonPet.class,
|
||||
UnsummonServitor.class
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -99,9 +99,4 @@ public class AdminVitality implements IAdminCommandHandler
|
||||
{
|
||||
return ADMIN_COMMANDS;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new AdminVitality();
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.instancemanager.AirShipManager;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -78,9 +77,4 @@ public final class AirshipAction implements IPlayerActionHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new AirshipAction());
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ package handlers.playeractions;
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.datatables.BotReportTable;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
|
||||
@ -41,9 +40,4 @@ public final class BotReport implements IPlayerActionHandler
|
||||
activeChar.sendMessage("This feature is disabled.");
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new BotReport());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExInzoneWaiting;
|
||||
@ -33,9 +32,4 @@ public final class InstanceZoneInfo implements IPlayerActionHandler
|
||||
{
|
||||
activeChar.sendPacket(new ExInzoneWaiting(activeChar));
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new InstanceZoneInfo());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PetInstance;
|
||||
@ -53,9 +52,4 @@ public final class PetAttack implements IPlayerActionHandler
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new PetAttack());
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.ai.L2SummonAI;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PetInstance;
|
||||
@ -53,9 +52,4 @@ public final class PetHold implements IPlayerActionHandler
|
||||
((L2SummonAI) pet.getAI()).notifyFollowStatusChange();
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new PetHold());
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PetInstance;
|
||||
@ -54,9 +53,4 @@ public final class PetMove implements IPlayerActionHandler
|
||||
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, activeChar.getTarget().getLocation());
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new PetMove());
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ package handlers.playeractions;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.PetDataTable;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillData;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PetInstance;
|
||||
@ -72,9 +71,4 @@ public final class PetSkillUse implements IPlayerActionHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new PetSkillUse());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PetInstance;
|
||||
@ -52,9 +51,4 @@ public final class PetStop implements IPlayerActionHandler
|
||||
pet.cancelAction();
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new PetStop());
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,6 @@ import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.PrivateStoreType;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.zone.ZoneId;
|
||||
@ -119,9 +118,4 @@ public final class PrivateStore implements IPlayerActionHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new PrivateStore());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
|
||||
@ -32,9 +31,4 @@ public final class Ride implements IPlayerActionHandler
|
||||
{
|
||||
activeChar.mountPlayer(activeChar.getPet());
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new Ride());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
|
||||
@ -32,9 +31,4 @@ public final class RunWalk implements IPlayerActionHandler
|
||||
{
|
||||
activeChar.setIsRunning(!activeChar.isRunning());
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new RunWalk());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
@ -43,9 +42,4 @@ public final class ServitorAttack implements IPlayerActionHandler
|
||||
activeChar.sendPacket(SystemMessageId.YOU_DO_NOT_HAVE_A_SERVITOR);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new ServitorAttack());
|
||||
}
|
||||
}
|
@ -18,7 +18,6 @@ package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.ai.L2SummonAI;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
@ -49,9 +48,4 @@ public final class ServitorHold implements IPlayerActionHandler
|
||||
((L2SummonAI) s.getAI()).notifyFollowStatusChange();
|
||||
});
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new ServitorHold());
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.ai.L2SummonAI;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
@ -69,9 +68,4 @@ public final class ServitorMode implements IPlayerActionHandler
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new ServitorMode());
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@ package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
@ -53,9 +52,4 @@ public final class ServitorMove implements IPlayerActionHandler
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new ServitorMove());
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ package handlers.playeractions;
|
||||
import com.l2jmobius.gameserver.data.sql.impl.SummonSkillsTable;
|
||||
import com.l2jmobius.gameserver.data.xml.impl.SkillData;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Summon;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -62,9 +61,4 @@ public final class ServitorSkillUse implements IPlayerActionHandler
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new ServitorSkillUse());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
@ -48,9 +47,4 @@ public final class ServitorStop implements IPlayerActionHandler
|
||||
s.cancelAction();
|
||||
});
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new ServitorStop());
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,6 @@ import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.ai.NextAction;
|
||||
import com.l2jmobius.gameserver.enums.MountType;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -89,9 +88,4 @@ public final class SitStand implements IPlayerActionHandler
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new SitStand());
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,6 @@ import com.l2jmobius.gameserver.ai.CtrlEvent;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.ai.NextAction;
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.L2Object;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -316,9 +315,4 @@ public final class SocialAction implements IPlayerActionHandler
|
||||
|
||||
partner.sendPacket(new ExAskCoupleAction(player.getObjectId(), id));
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new SocialAction());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
||||
@ -39,9 +38,4 @@ public final class TacticalSignTarget implements IPlayerActionHandler
|
||||
|
||||
activeChar.getParty().setTargetBasedOnTacticalSignId(activeChar, data.getOptionId());
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new TacticalSignTarget());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -40,9 +39,4 @@ public final class TacticalSignUse implements IPlayerActionHandler
|
||||
|
||||
activeChar.getParty().addTacticalSign(activeChar, data.getOptionId(), (L2Character) activeChar.getTarget());
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new TacticalSignUse());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
|
||||
@ -26,11 +25,5 @@ public final class TeleportBookmark implements IPlayerActionHandler
|
||||
@Override
|
||||
public void useAction(L2PcInstance activeChar, ActionDataHolder data, boolean ctrlPressed, boolean shiftPressed)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new TeleportBookmark());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Summon;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -64,9 +63,4 @@ public final class UnsummonPet implements IPlayerActionHandler
|
||||
pet.unSummon(activeChar);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new UnsummonPet());
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,6 @@
|
||||
package handlers.playeractions;
|
||||
|
||||
import com.l2jmobius.gameserver.handler.IPlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.handler.PlayerActionHandler;
|
||||
import com.l2jmobius.gameserver.model.ActionDataHolder;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Summon;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -62,9 +61,4 @@ public final class UnsummonServitor implements IPlayerActionHandler
|
||||
activeChar.sendPacket(SystemMessageId.YOU_DO_NOT_HAVE_A_SERVITOR);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
PlayerActionHandler.getInstance().registerHandler(new UnsummonServitor());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user