Compare commits

..

1 Commits

Author SHA1 Message Date
FinnHornhoover
cfce24e96b
Merge 6d94eec964 into cd265af8e0 2023-12-11 22:47:55 +00:00

View File

@ -110,7 +110,7 @@ static void npcBarkHandler(CNSocket* sock, CNPacketData* data) {
for (Chunk* chunk : plr->viewableChunks) {
for (auto ent = chunk->entities.begin(); ent != chunk->entities.end(); ent++) {
if (ent->kind != EntityKind::SIMPLE_NPC)
if (ent->kind == EntityKind::PLAYER)
continue;
BaseNPC* npc = (BaseNPC*)ent->getEntity();