mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-16 14:25:19 -05:00
Remove mapgen_air alias (#935)
This commit is contained in:
parent
2170c9958a
commit
afb27329fc
@ -4,7 +4,6 @@
|
||||
-- Aliases for map generator outputs
|
||||
--
|
||||
|
||||
minetest.register_alias("mapgen_air", "air")
|
||||
minetest.register_alias("mapgen_stone", "default:stone")
|
||||
minetest.register_alias("mapgen_tree", "default:tree")
|
||||
minetest.register_alias("mapgen_leaves", "default:leaves")
|
||||
|
@ -209,7 +209,7 @@ class LiquidDropABM : public ActiveBlockModifier {
|
||||
{ return contents; }
|
||||
virtual std::set<std::string> getRequiredNeighbors() {
|
||||
std::set<std::string> neighbors;
|
||||
neighbors.insert("mapgen_air");
|
||||
neighbors.insert("air");
|
||||
return neighbors;
|
||||
}
|
||||
virtual float getTriggerInterval()
|
||||
@ -241,7 +241,7 @@ class LiquidFreeze : public ActiveBlockModifier {
|
||||
}
|
||||
virtual std::set<std::string> getRequiredNeighbors() {
|
||||
std::set<std::string> s;
|
||||
s.insert("mapgen_air");
|
||||
s.insert("air");
|
||||
s.insert("group:melts");
|
||||
return s;
|
||||
}
|
||||
@ -303,7 +303,7 @@ class LiquidMeltWeather : public ActiveBlockModifier {
|
||||
}
|
||||
virtual std::set<std::string> getRequiredNeighbors() {
|
||||
std::set<std::string> s;
|
||||
s.insert("mapgen_air");
|
||||
s.insert("air");
|
||||
s.insert("group:freezes");
|
||||
return s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user