aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-08-16 21:45:07 +0200
committerGitHub <[email protected]>2024-08-16 21:45:07 +0200
commit95719832bf57ae523982d681cd219e8387c39955 (patch)
tree26aaaedcadad46d3c192e2be1315ef4de5e220e0 /patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch
parent81bfda87103e1a47ea184c5da119e79218a8dc1e (diff)
downloadPaper-95719832bf57ae523982d681cd219e8387c39955.tar.gz
Paper-95719832bf57ae523982d681cd219e8387c39955.zip
Fix scanForLegacyEnderDragon world config (#11262)
Diffstat (limited to 'patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch')
-rw-r--r--patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch b/patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch
index 854c391fc5..47272d2095 100644
--- a/patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch
+++ b/patches/server/0767-ensure-reset-EnderDragon-boss-event-name.patch
@@ -6,7 +6,7 @@ Subject: [PATCH] ensure reset EnderDragon boss event name
Fix MC-257487
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 b8bba857aa390e5435b8a199a25065a940d6a972..f6f5fad52e41d5ccc37dc28c40904fce014907fb 100644
+index e5927f378789e1d8b83ca5c84d657e0e637cc575..0100d3f4cb2c1d3e2e052ee109aea707029d0c10 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
@@ -73,6 +73,7 @@ public class EndDragonFight {
@@ -26,7 +26,7 @@ index b8bba857aa390e5435b8a199a25065a940d6a972..f6f5fad52e41d5ccc37dc28c40904fce
this.gateways = new ObjectArrayList();
this.ticksSinceLastPlayerScan = 21;
this.skipArenaLoadedCheck = false;
-@@ -503,6 +504,10 @@ public class EndDragonFight {
+@@ -505,6 +506,10 @@ public class EndDragonFight {
this.ticksSinceDragonSeen = 0;
if (dragon.hasCustomName()) {
this.dragonEvent.setName(dragon.getDisplayName());