aboutsummaryrefslogtreecommitdiff
path: root/src/feature.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-05-05 09:44:50 -0400
committerYour Name <you@example.com>2021-05-05 09:44:50 -0400
commit2a9f262e6db5906db445d465e500d7ba8c90fab3 (patch)
tree34f850754b0c9114ede9d7b2bb8da90dffddc4fe /src/feature.cc
parent8614137f7f32f2c9f3c11419110cd70dd7f3b505 (diff)
downloaddmtool-2a9f262e6db5906db445d465e500d7ba8c90fab3.tar.gz
dmtool-2a9f262e6db5906db445d465e500d7ba8c90fab3.tar.bz2
dmtool-2a9f262e6db5906db445d465e500d7ba8c90fab3.zip
Implemented additional commands
Diffstat (limited to 'src/feature.cc')
-rw-r--r--src/feature.cc2
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);