mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-09-26 10:00:05 +00:00
[refactor] Remaining ICombatant implementation
This commit is contained in:
@@ -43,7 +43,7 @@ namespace PlayerManager {
|
||||
for (auto it = plr->viewableChunks.begin(); it != plr->viewableChunks.end(); it++) {
|
||||
Chunk* chunk = *it;
|
||||
for (const EntityRef& ref : chunk->entities) {
|
||||
if (ref.type != EntityType::PLAYER || ref.sock == sock)
|
||||
if (ref.kind != EntityKind::PLAYER || ref.sock == sock)
|
||||
continue;
|
||||
|
||||
ref.sock->sendPacket(pkt, type);
|
||||
|
Reference in New Issue
Block a user