mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Fix register_ore ore_type error handling
This commit is contained in:
@@ -172,9 +172,8 @@ public:
|
||||
return new OreVein;
|
||||
case ORE_STRATUM:
|
||||
return new OreStratum;
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void clear();
|
||||
|
Reference in New Issue
Block a user