ProjectSWGCore / Holocore

This is the Star Wars Galaxies server emulator for the Java Virtual Machine
https://www.projectswg.com
GNU Affero General Public License v3.0
31 stars 19 forks source link

Added missing system message when completing a quest #1554

Closed madsboddum closed 5 months ago

madsboddum commented 5 months ago

This required a bigger refactor than I had anticipated, honestly. Problem was that I needed access to QuestListInfo#category way down in completeQuest, but all I had was a string questName. I do think this improves the code by introducing some type safety, though.

In-game now, using the test quest "quest/test_grant_quest_complete" bundled with SWG: image

From an original screenshot: Snapshot - 2024-09-6-09-43-49