diff options
author | Spottedleaf <[email protected]> | 2023-06-08 16:21:20 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2023-06-08 16:21:20 -0700 |
commit | 902691b636614df08ba407823109b44be47f2277 (patch) | |
tree | d81004f9582a0eef33672278697d7fad798e84b2 /patches/server/0474-Reset-Ender-Crystals-on-Dragon-Spawn.patch | |
parent | 619d7c93d80c4fecf7b3db9f2750e44a0ce611d2 (diff) | |
download | Paper-902691b636614df08ba407823109b44be47f2277.tar.gz Paper-902691b636614df08ba407823109b44be47f2277.zip |
Apply last patch
Diffstat (limited to 'patches/server/0474-Reset-Ender-Crystals-on-Dragon-Spawn.patch')
-rw-r--r-- | patches/server/0474-Reset-Ender-Crystals-on-Dragon-Spawn.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/patches/server/0474-Reset-Ender-Crystals-on-Dragon-Spawn.patch b/patches/server/0474-Reset-Ender-Crystals-on-Dragon-Spawn.patch deleted file mode 100644 index b1477cf8eb..0000000000 --- a/patches/server/0474-Reset-Ender-Crystals-on-Dragon-Spawn.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Aikar <[email protected]> -Date: Wed, 1 Jun 2016 23:29:17 -0400 -Subject: [PATCH] Reset Ender Crystals on Dragon Spawn - -Crystals can end up in a bad state in certain conditions which causes -an exception on the expected number of crystals going negative. - -This ensures the crystals/pillars are in expected state when the dragon spawns. - -See #3522 - -diff --git a/src/main/java/net/minecraft/world/level/dimension/end/EndDragonFight.java b/src/main/java/net/minecraft/world/level/dimension/end/EndDragonFight.java -index 35304d7a60348a2b4e1eec43418086086502e4ab..cae4c52e239bdbb916d69e14617814fd08279f1b 100644 ---- a/src/main/java/net/minecraft/world/level/dimension/end/EndDragonFight.java -+++ b/src/main/java/net/minecraft/world/level/dimension/end/EndDragonFight.java -@@ -412,6 +412,7 @@ public class EndDragonFight { - enderDragon.moveTo((double)this.origin.getX(), (double)(128 + this.origin.getY()), (double)this.origin.getZ(), this.level.random.nextFloat() * 360.0F, 0.0F); - this.level.addFreshEntity(enderDragon); - this.dragonUUID = enderDragon.getUUID(); -+ this.resetSpikeCrystals(); // Paper - } - - return enderDragon; |