From 3b5a7faadaacd9f118309fc7c5a4055ced99548d Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 29 Jan 2016 14:14:30 +0000 Subject: [PATCH] Removed some unused quest methods. --- .../gameserver/model/quest/Quest.java | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/trunk/java/com/l2jmobius/gameserver/model/quest/Quest.java b/trunk/java/com/l2jmobius/gameserver/model/quest/Quest.java index eb7c8fe856..49668a0977 100644 --- a/trunk/java/com/l2jmobius/gameserver/model/quest/Quest.java +++ b/trunk/java/com/l2jmobius/gameserver/model/quest/Quest.java @@ -1821,32 +1821,6 @@ public class Quest extends AbstractScript implements IIdentifiable return DEFAULT_ALREADY_COMPLETED_MSG; } - // TODO: Remove after all Jython scripts are replaced with Java versions. - public void addStartNpc(int npcId) - { - setNpcQuestStartId(npcId); - } - - public void addFirstTalkId(int npcId) - { - setNpcFirstTalkId(event -> notifyFirstTalk(event.getNpc(), event.getActiveChar()), npcId); - } - - public void addTalkId(int npcId) - { - setNpcTalkId(npcId); - } - - public void addKillId(int npcId) - { - setAttackableKillId(kill -> notifyKill(kill.getTarget(), kill.getAttacker(), kill.isSummon()), npcId); - } - - public void addAttackId(int npcId) - { - setAttackableAttackId(attack -> notifyAttack(attack.getTarget(), attack.getAttacker(), attack.getDamage(), attack.isSummon(), attack.getSkill()), npcId); - } - /** * Add the quest to the NPC's startQuest * @param npcIds the IDs of the NPCs to register