#include "inventory.h"
#include <sstream>
#include "content_mapnode.h"
+#include "log.h"
/*
NodeMetadata
if(n == NULL)
{
// If factory is not found, just return.
- dstream<<"WARNING: NodeMetadata: No factory for typeId="
+ infostream<<"WARNING: NodeMetadata: No factory for typeId="
<<id<<std::endl;
return NULL;
}
}
catch(SerializationError &e)
{
- dstream<<"WARNING: NodeMetadata: ignoring SerializationError"<<std::endl;
+ infostream<<"WARNING: NodeMetadata: ignoring SerializationError"<<std::endl;
return NULL;
}
}
if(version > 1)
{
- dstream<<__FUNCTION_NAME<<": version "<<version<<" not supported"
+ infostream<<__FUNCTION_NAME<<": version "<<version<<" not supported"
<<std::endl;
throw SerializationError("NodeMetadataList::deSerialize");
}
if(m_data.find(p))
{
- dstream<<"WARNING: NodeMetadataList::deSerialize(): "
+ infostream<<"WARNING: NodeMetadataList::deSerialize(): "
<<"already set data at position"
<<"("<<p.X<<","<<p.Y<<","<<p.Z<<"): Ignoring."
<<std::endl;