You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: common/src/commonMain/kotlin/cz/frantisekmasa/wfrp_master/common/character/spells/dialog/NonCompendiumSpellForm.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ private class NonCompendiumSpellFormData(
122
122
duration = inputValue(item?.duration ?:""),
123
123
castingNumber = inputValue(
124
124
item?.castingNumber?.toString() ?:"",
125
-
Rules.PositiveInteger(),
125
+
Rules.NonNegativeInteger(),
126
126
),
127
127
effect = inputValue(item?.effect ?:""),
128
128
)
@@ -135,7 +135,7 @@ private class NonCompendiumSpellFormData(
Copy file name to clipboardExpand all lines: common/src/commonMain/kotlin/cz/frantisekmasa/wfrp_master/common/compendium/domain/importer/grammars/SpellListGrammar.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ class SpellListGrammar(private val loreName: String) : Grammar<List<Spell>>() {
Copy file name to clipboardExpand all lines: common/src/commonTest/kotlin/cz/frantisekmasa/wfrp_master/common/compendium/domain/importer/grammars/SpellListGrammarTest.kt
0 commit comments