removing the warning thrown until I can figure out how the hell to do that properly

This commit is contained in:
Downforce Agent 2024-01-29 04:24:32 -06:00
parent ba4fda62ee
commit 5d8b8e0f39

View File

@ -832,8 +832,7 @@ void lookUpWorldName(std::string alias, char* buffer/*replies*/) {
typeid((*key)["position"][1]).name() != "int" || typeid((*key)["position"][1]).name() != "int" ||
typeid((*key)["position"][2]).name() != "int" || typeid((*key)["position"][2]).name() != "int" ||
typeid((*key)["position"][3]).name() != "int") { typeid((*key)["position"][3]).name() != "int") {
std::cout << "ERROR: expected type int when reading position. PLEASE CHECK your marks.json!!!\n"; //std::cout << "ERROR: expected type int when reading position. PLEASE CHECK your marks.json!!!\n";
std::cout << typeid((*key)["position"][0]).name();
} }
details.name = (*key)["name"].get<std::string>(); details.name = (*key)["name"].get<std::string>();