-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Quests were Enumerable but had their ids uninitialized after deserializing from json, making them all have the same id)
- Loading branch information
1 parent
d38b100
commit 12f6f62
Showing
3 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package hitonoriol.madsand.properties; | ||
|
||
import java.util.HashMap; | ||
|
||
import hitonoriol.madsand.entities.quest.Quest; | ||
|
||
public class QuestList { | ||
public static final int NO_QUESTS_STATUS = -1; | ||
public static final int QUEST_IN_PROGRESS_STATUS = -2; | ||
|
||
public static HashMap<Integer, Quest> quests = new HashMap<Integer, Quest>(); | ||
} | ||
package hitonoriol.madsand.properties; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
import hitonoriol.madsand.entities.quest.Quest; | ||
|
||
public class QuestList { | ||
public static final int NO_QUESTS_STATUS = -1; | ||
public static final int QUEST_IN_PROGRESS_STATUS = -2; | ||
|
||
public static Map<Integer, Quest> quests = new HashMap<Integer, Quest>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters