summaryrefslogtreecommitdiff
path: root/src/serverenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverenvironment.h')
-rw-r--r--src/serverenvironment.h4
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