mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
Fixed duplication bug
This commit is contained in:
parent
6496b1cf1f
commit
4328a6442b
@ -96,7 +96,7 @@ ServerActiveObject* item_craft_create_object(const std::string &subname,
|
|||||||
|
|
||||||
s16 item_craft_get_drop_count(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;
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user