mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Fix register_ore ore_type error handling
This commit is contained in:
parent
0c3117f9b3
commit
d4378a74d3
2 changed files with 18 additions and 18 deletions
|
@ -172,9 +172,8 @@ public:
|
|||
return new OreVein;
|
||||
case ORE_STRATUM:
|
||||
return new OreStratum;
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue