diff options
Diffstat (limited to 'src/feature.cc')
-rw-r--r-- | src/feature.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature.cc b/src/feature.cc index 1f83402..c42aba2 100644 --- a/src/feature.cc +++ b/src/feature.cc @@ -11,7 +11,7 @@ typedef nlohmann::json json; namespace entry { shared_ptr<Feature> Feature::create(const json& data) { - if(data["type"] == "spellcasting") { + if(data["type"] == "spells") { return utils::loadDFromJson<Feature, Spellcasting>(data); } else if(data["type"] == "attack") { return utils::loadDFromJson<Feature, Attack>(data); |