From 17fd5fe9358615633a04d7a3941b444a8ce5f199 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Mon, 11 Sep 2017 15:51:40 +0200 Subject: Make INodeDefManager::getIds return a vector, not a set --- src/serverenvironment.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/serverenvironment.h') 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 &getTriggerContents() const = 0; + virtual const std::vector &getTriggerContents() const = 0; // Set of required neighbors (trigger doesn't happen if none are found) // Empty = do not check neighbors - virtual const std::set &getRequiredNeighbors() const = 0; + virtual const std::vector &getRequiredNeighbors() const = 0; // Trigger interval in seconds virtual float getTriggerInterval() = 0; // Random chance of (1 / return value), 0 is disallowed -- cgit v1.2.3