Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7063

DragonBattle.initiateRespawn() shouldn't check if the 4 ender crystal are placed


    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Spigot 1.18.1

    • 1.18.1
    • Yes

      The DragonBattle.initiateRespawn() function calls an NMS function, which checks if the 4 ender crystals are placed (as one would manually respawn the ender dragon), and only then proceeds to respawn the dragon using an different private NMS function.

      Why is this? wouldn't it be better if it would actually just respawn the dragon (using the previously mentioned private function), or create a new function called respawn() ?

      More info (and solution): https://www.spigotmc.org/threads/re-spawning-the-ender-dragon.255183/#post-2534599

            Doc Doc
            mrsot MrSot
            0 Vote for this issue
            2 Start watching this issue