Minecraft-AMS/Carpet-AMS-Addition

Respawning Enderdragon Egg could set blocks in chunks not loaded

wendavid552 opened this issue · 1 comments

Bug description

In Respawnable Enderdragon Egg rule, the enderdragon egg is added too early without checking the UUID of the dragon entities. Suppose the ender dragon is teleported, and then killed in far away chunks, this feature will still modify the chunk remotely.

Steps to reproduce

  1. Create a new world
  2. Enable the regeneratingDragonEgg
  3. Go into the end, freeze the enderdragon and push it into unloaded chunks(or you can teleport it away)
  4. New dragoneggs actually respawned

Expected behavior

New dragoneggs do not respawn until we kill the new one

Actual behavior

No response

Relevant logs

No response

Minecraft version

Any

TemplateMod version

newest

Other information

No response

Check list

  • I have verified that the issue persists in the latest version of the mod.
  • I have searched the existing issues and confirmed that this is not a duplicate.