diff options
author | Kahrl <kahrl@gmx.net> | 2017-09-11 15:51:40 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-09-12 19:31:46 +0200 |
commit | 17fd5fe9358615633a04d7a3941b444a8ce5f199 (patch) | |
tree | fc2862413a9fb3b022ae773498ef7d6d5c588eac /src/serverenvironment.h | |
parent | 5b3fbf9cf75f9f637c666d34e2489fef0cc035d9 (diff) | |
download | minetest-17fd5fe9358615633a04d7a3941b444a8ce5f199.tar.gz minetest-17fd5fe9358615633a04d7a3941b444a8ce5f199.tar.bz2 minetest-17fd5fe9358615633a04d7a3941b444a8ce5f199.zip |
Make INodeDefManager::getIds return a vector, not a set
Diffstat (limited to 'src/serverenvironment.h')
-rw-r--r-- | src/serverenvironment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverenvironment.h b/src/serverenvironment.h index 0eabfc08f..3fdd6d77e 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -53,10 +53,10 @@ public: virtual ~ActiveBlockModifier() = default; // Set of contents to trigger on - virtual const std::set<std::string> &getTriggerContents() const = 0; + virtual const std::vector<std::string> &getTriggerContents() const = 0; // Set of required neighbors (trigger doesn't happen if none are found) // Empty = do not check neighbors - virtual const std::set<std::string> &getRequiredNeighbors() const = 0; + virtual const std::vector<std::string> &getRequiredNeighbors() const = 0; // Trigger interval in seconds virtual float getTriggerInterval() = 0; // Random chance of (1 / return value), 0 is disallowed |