diff --git a/src/NPCManager.cpp b/src/NPCManager.cpp index 06850b9..4a11783 100644 --- a/src/NPCManager.cpp +++ b/src/NPCManager.cpp @@ -769,11 +769,10 @@ void NPCManager::eggPickup(CNSocket* sock, CNPacketData* data) { int typeId = egg->appearanceData.iNPCType; if (EggTypes.find(typeId) == EggTypes.end()) { - if (egg->npcClass != NPCClass::NPC_EGG) { - std::cout << "[WARN] Egg Type " << typeId << " not found!" << std::endl; - return; - } + std::cout << "[WARN] Egg Type " << typeId << " not found!" << std::endl; + return; } + EggType* type = &EggTypes[typeId]; // buff the player