From 7b5d1e3d46e94262a9c0fd3a01ab4685aea9d12d Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 1 May 2021 15:10:54 -0400 Subject: Added bash completion, amongst others --- src/entry.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entry.cc') diff --git a/src/entry.cc b/src/entry.cc index a3b4133..ef2ec96 100644 --- a/src/entry.cc +++ b/src/entry.cc @@ -13,9 +13,9 @@ namespace entry { return Feature::create(data); } else if(data["entry"] == "item") { return Item::create(data); - } else if(data["entry"] == "creature") { + } else if(data["entry"] == "creatures") { return utils::loadDFromJson(data); - } else if(data["entry"] == "spell") { + } else if(data["entry"] == "spells") { return utils::loadDFromJson(data); } throw std::invalid_argument("Invalid entry: " + std::string(data["entry"])); -- cgit v1.2.3