Rename and clean up MapleQuest
This commit is contained in:
@@ -26,7 +26,7 @@ package client.command.commands.gm3;
|
||||
import client.Character;
|
||||
import client.Client;
|
||||
import client.command.Command;
|
||||
import server.quest.MapleQuest;
|
||||
import server.quest.Quest;
|
||||
|
||||
public class QuestResetCommand extends Command {
|
||||
{
|
||||
@@ -45,7 +45,7 @@ public class QuestResetCommand extends Command {
|
||||
int questid_ = Integer.parseInt(params[0]);
|
||||
|
||||
if (player.getQuestStatus(questid_) != 0) {
|
||||
MapleQuest quest = MapleQuest.getInstance(questid_);
|
||||
Quest quest = Quest.getInstance(questid_);
|
||||
if (quest != null) {
|
||||
quest.reset(player);
|
||||
player.dropMessage(5, "QUEST " + questid_ + " reseted.");
|
||||
|
||||
Reference in New Issue
Block a user