mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 21:32:19 +00:00
Quests:
-Quests with complete text now complete the quest in data before showing the text GUI, instead of being completed when that GUI is closed. Item Quests: Some fixes to item quest completion when an item is picked up.
This commit is contained in:
1 parent
1293fabca9
commit
dfec85484b
7 files changed
+17
-11
No files matched your search
@@ -63,7 +63,6 @@ public class GuiQuestCompletion extends GuiNPCInterface implements ITopButtonLis
|
||||
protected void actionPerformed(GuiButton guibutton)
|
||||
{
|
||||
if(guibutton.id == 0){
|
||||
NoppesUtilPlayer.sendData(EnumPlayerPacket.QuestCompletion, quest.id);
|
||||
close();
|
||||
}
|
||||
}
|
||||
@@ -81,7 +80,7 @@ public class GuiQuestCompletion extends GuiNPCInterface implements ITopButtonLis
|
||||
}
|
||||
@Override
|
||||
public void save() {
|
||||
NoppesUtilPlayer.sendData(EnumPlayerPacket.QuestCompletion, quest.id);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user