Add defensive check #4437

Merged
the-real-herowl merged 1 commits from crash_fix_mobs into master 2024-06-15 03:51:05 +02:00

This fixes #4436 and possible other unnoticed crashes by adding a defensive check.

Testing

Spawn two withers at the same time at the same place. Without this patch, it leads to a quick crash.

This fixes #4436 and possible other unnoticed crashes by adding a defensive check. ### Testing Spawn two withers at the same time at the same place. Without this patch, it leads to a quick crash.
the-real-herowl added this to the 0.87.2 milestone 2024-06-14 22:55:23 +02:00
the-real-herowl added the
#P1 CRITICAL
label 2024-06-14 22:55:23 +02:00
the-real-herowl added 1 commit 2024-06-14 22:55:24 +02:00
rudzik8 approved these changes 2024-06-15 03:48:37 +02:00
rudzik8 left a comment
Member

Pretty simple fix, although it might be only simple in retrospective ;)

LGTM. Another nil-related crash bites the dust.

Pretty simple fix, although it might be only simple in retrospective ;) LGTM. Another nil-related crash bites the dust.
the-real-herowl merged commit 72435933e4 into master 2024-06-15 03:51:05 +02:00
the-real-herowl deleted branch crash_fix_mobs 2024-06-15 03:51:06 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#4437
No description provided.