LOG(Printf("%i", Area.GetBlockType(x, y, z)).c_str());
Don't need to go this difficult, this is enough (LOG() functions work the same as printf):
LOG("%i", Area.GetBlockType(x, y, z));
Your problem probably is that you're using non-relative GetBlockType(). You should use the relative-coord version: GetRelBlockType()
Don't need to go this difficult, this is enough (LOG() functions work the same as printf):
LOG("%i", Area.GetBlockType(x, y, z));
Your problem probably is that you're using non-relative GetBlockType(). You should use the relative-coord version: GetRelBlockType()