mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
MapNode constructor to allow ndef+name
This commit is contained in:
@@ -147,6 +147,11 @@ struct MapNode
|
||||
// because this needs to override part of param2
|
||||
setContent(content);
|
||||
}
|
||||
|
||||
// Create directly from a nodename
|
||||
// If name is unknown, sets CONTENT_IGNORE
|
||||
MapNode(INodeDefManager *ndef, const std::string &name,
|
||||
u8 a_param1=0, u8 a_param2=0);
|
||||
|
||||
bool operator==(const MapNode &other)
|
||||
{
|
||||
|
Reference in New Issue
Block a user