Fix mob spawner crash #4337

Merged
the-real-herowl merged 1 commits from teknomunk/MineClone2:fix-mobspawner-crash into master 2024-05-30 10:29:13 +02:00
Member

This fixes #4336 crash at login about mcl_mobspawners. Also adds an API call, mcl_mobs.register_conversion for converting one mob into another and updates rovers and stalkers to use this API call.

Testing

  1. Checkout 0.86.2
  2. Create mob spawners with creepers and endermen.
  3. Restart with 0.87.0
  4. Verify the game crashes when in range of the spawners.
  5. Restart with this PR.
  6. Verify the game no longer crashes.
This fixes #4336 crash at login about mcl_mobspawners. Also adds an API call, ````mcl_mobs.register_conversion```` for converting one mob into another and updates rovers and stalkers to use this API call. ### Testing 1. Checkout 0.86.2 2. Create mob spawners with creepers and endermen. 3. Restart with 0.87.0 4. Verify the game crashes when in range of the spawners. 5. Restart with this PR. 6. Verify the game no longer crashes.
teknomunk added this to the 0.87.1 milestone 2024-05-27 13:07:56 +02:00
teknomunk added the
#P1 CRITICAL
label 2024-05-27 13:07:56 +02:00
teknomunk added 1 commit 2024-05-27 13:07:57 +02:00
the-real-herowl approved these changes 2024-05-30 10:27:40 +02:00
the-real-herowl merged commit add9cbe3bc into master 2024-05-30 10:29:13 +02:00
teknomunk deleted branch fix-mobspawner-crash 2024-05-30 13:38:20 +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#4337
No description provided.