Skip to content

Commit

Permalink
feat(common): better entity logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Sep 4, 2023
1 parent 16a8400 commit 03846df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/isaacscript-common/src/functions/logEntities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ function getEntityLogLine(this: void, entity: Entity, num?: int): string {
msg += ` - Child: ${entity.Child}\n`;
msg += ` - SpawnerEntity: ${entity.SpawnerEntity}\n`;
msg += ` - SpawnerType / SpawnerVariant: ${entity.SpawnerType}.${entity.SpawnerVariant}\n`;
msg += ` - FrameCount: ${entity.FrameCount}\n`;
if (npc !== undefined) {
msg += ` - CanShutDoors: ${npc.CanShutDoors}\n`;
}
Expand Down

0 comments on commit 03846df

Please sign in to comment.