|
@@ -21,7 +21,7 @@ public class Researched implements DDSpellbook {
|
|
|
@FieldDefaults(level=AccessLevel.PRIVATE, makeFinal=true)
|
|
@FieldDefaults(level=AccessLevel.PRIVATE, makeFinal=true)
|
|
|
private static class Level {
|
|
private static class Level {
|
|
|
@NonNull Collection<DDSpell> spellsKnown;
|
|
@NonNull Collection<DDSpell> spellsKnown;
|
|
|
- @NonNull List<DDSpell> spellsPrepared;
|
|
|
|
|
|
|
+ @NonNull List<DDSpell> spellsPrepared, spellsPreparedPreviously;
|
|
|
@NonFinal int spellsPerDay;
|
|
@NonFinal int spellsPerDay;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -52,6 +52,6 @@ public class Researched implements DDSpellbook {
|
|
|
|
|
|
|
|
|
|
|
|
|
private Level get(int level) {
|
|
private Level get(int level) {
|
|
|
- return spellInfo.getOrDefault(level, new Level(Collections.emptySet(), Collections.emptyList(), 0));
|
|
|
|
|
|
|
+ return spellInfo.getOrDefault(level, new Level(Collections.emptySet(), Collections.emptyList(), Collections.emptyList(), 0));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|