From: sfan5 Date: Sun, 11 Sep 2011 17:17:14 +0000 (+0200) Subject: Fixed duplication bug X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=4328a6442b0b35e1acdb15c9ab0ac51c2049ae83;p=zefram%2Fminetest%2Fminetest_engine.git Fixed duplication bug --- diff --git a/src/content_inventory.cpp b/src/content_inventory.cpp index 5fbb02d9..55ddbf8d 100644 --- a/src/content_inventory.cpp +++ b/src/content_inventory.cpp @@ -96,7 +96,7 @@ ServerActiveObject* item_craft_create_object(const std::string &subname, s16 item_craft_get_drop_count(const std::string &subname) { - if(subname == "rat" || subname == "firefly" || subname == "apple") + if(subname == "rat" || subname == "firefly") return 1; return -1;