Change the nodenames for dirt -> grass and sapling -> tree abms to match the mapgen...
authorPilzAdam <PilzAdam@gmx.de>
Wed, 2 Jan 2013 21:03:36 +0000 (22:03 +0100)
committerPilzAdam <PilzAdam@gmx.de>
Wed, 2 Jan 2013 22:06:31 +0000 (23:06 +0100)
src/content_abm.cpp

index 0d0f0dedb713e89f5de43812a2c3ce068a2ed8f9..5812c7b502b0f9d063a63b9f4039e9415f3f4d7c 100644 (file)
@@ -37,7 +37,7 @@ public:
        virtual std::set<std::string> getTriggerContents()
        {
                std::set<std::string> s;
-               s.insert("dirt");
+               s.insert("mapgen_dirt");
                return s;
        }
        virtual float getTriggerInterval()
@@ -67,7 +67,7 @@ public:
        virtual std::set<std::string> getTriggerContents()
        {
                std::set<std::string> s;
-               s.insert("dirt_with_grass");
+               s.insert("mapgen_dirt_with_grass");
                return s;
        }
        virtual float getTriggerInterval()