diff --git a/src/teleport-to-node.cpp b/src/teleport-to-node.cpp index 565d186..27f0924 100644 --- a/src/teleport-to-node.cpp +++ b/src/teleport-to-node.cpp @@ -45,7 +45,7 @@ static GameObject* FindNearestReadyVein(Player* player, float maxRange, float mi if (go->getLootState() != LootState::GO_READY) continue; - if (go->getGoState() != GOState::GO_STATE_READY) + if (go->GetGoState() != GOState::GO_STATE_READY) continue; float d = player->GetDistance(go);