Skip to content

Commit

Permalink
[LuaBiomeLoader] Fixed a typo in ore definition table name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Jul 7, 2020
1 parent 5a98a1d commit c6ba9c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/server/lua/loader/LuaBiomeLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ inline void LuaBiomeLoader::loadFloraPlacementEntries(Biome &biome, const sol::t
}

inline void LuaBiomeLoader::loadOrePlacementEntries(Biome &biome, const sol::table &table) const {
sol::optional<sol::table> oreDefinitions = table["ore"];
sol::optional<sol::table> oreDefinitions = table["ores"];
if (oreDefinitions != sol::nullopt) {
for (const auto &it : oreDefinitions.value()) {
sol::table oreDefinition = it.second.as<sol::table>();
Expand Down

0 comments on commit c6ba9c7

Please sign in to comment.