Closed friishon closed 3 years ago
Yes, I can confirm. The battle is restarted as on loading it did not found the dragon as entities are not loaded... (a chunk is not loaded at the start) However, the extra dragon is still a "BentoBoxEnderDragon", just non-assigned.
I will try to work out how to deal with this situation.
This version should fix that: https://ci.codemc.io/job/BONNePlayground/job/DragonFights/46/
It may not work on already existing saves, however, every new battle should be fixed.
Description
Describe the bug
Using the latest build and using paper, if the player doesn't kill the dragon and the server us restarted, the towers will be duplicate and the dragon too
Steps to reproduce the behavior
Turn on the end portal, put the end crystal on the bedrock, respawn the dragon, leave the game, stop the server and up it again
Expected behavior
Apparently sometimes appears the normal end dragon and the player island dragon
Other times the towers are duplicated and other justi only appear the normal end dragon
Environment
BentoBox Version (Mandatory)
bentobox version
[14:41:16 INFO]: Corriendo PAPER 1.17.1.
[14:41:16 INFO]: BentoBox version: 1.17.3
[14:41:16 INFO]: ase de datos: JSON
[14:41:16 INFO]: Mundos de juego cargados:
[14:41:16 INFO]: bskyblock_world (BSkyBlock): Mundo, Nether, End
[14:41:16 INFO]: Addons cargados:
[14:41:16 INFO]: Bank 1.3.2 (ENABLED)
[14:41:16 INFO]: Biomes 1.14.0 (ENABLED)
[14:41:16 INFO]: BSkyBlock 1.15.2 (ENABLED)
[14:41:16 INFO]: Challenges 0.8.4 (ENABLED)
[14:41:16 INFO]: Chat 1.1.4 (ENABLED)
[14:41:16 INFO]: ControlPanel 1.13.0 (ENABLED)
[14:41:16 INFO]: DimensionalTrees 1.6.0 (ENABLED)
[14:41:16 INFO]: DragonFights 1.2.0 (ENABLED)
[14:41:16 INFO]: Greenhouses 1.5.3 (ENABLED)
[14:41:16 INFO]: IslandFly 1.8.1 (ENABLED)
[14:41:16 INFO]: Level 2.7.2 (ENABLED)
[14:41:16 INFO]: Likes 2.1.1 (ENABLED)
[14:41:16 INFO]: Limits 1.17.2 (ENABLED)
[14:41:16 INFO]: MagicCobblestoneGenerator 2.3.0 (ENABLED)
[14:41:16 INFO]: Visit 1.4.0 (ENABLED)
[14:41:16 INFO]: Warps 1.11.1 (ENABLED