summaryrefslogtreecommitdiff
path: root/server/lib/core/models/summon_model.dart
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/core/models/summon_model.dart')
-rw-r--r--server/lib/core/models/summon_model.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/core/models/summon_model.dart b/server/lib/core/models/summon_model.dart
index 802f3f8..4beb176 100644
--- a/server/lib/core/models/summon_model.dart
+++ b/server/lib/core/models/summon_model.dart
@@ -21,7 +21,7 @@ class SummonModel {
);
factory SummonModel.fromJson(Map<String, dynamic> data, String key) {
- String name = key;
+ final String name = key;
StatValue health = const IntStatValue(2); //default to 2 not to die
if (data.containsKey('health')) {
health = StatValue.fromJson(data['health']);