28 lines
1.4 KiB
Diff
28 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Helvetica Volubi <suisuroru@blue-millennium.fun>
|
|
Date: Wed, 21 May 2025 13:04:00 +0800
|
|
Subject: [PATCH] Add config to disable end crystal check
|
|
|
|
|
|
diff --git a/net/minecraft/world/level/dimension/end/EndDragonFight.java b/net/minecraft/world/level/dimension/end/EndDragonFight.java
|
|
index 4fa8371c212dcc02b8cf5fd267b736e1cf3f50c1..e80afd034eba10c9adaa5df776c728253e874af4 100644
|
|
--- a/net/minecraft/world/level/dimension/end/EndDragonFight.java
|
|
+++ b/net/minecraft/world/level/dimension/end/EndDragonFight.java
|
|
@@ -547,6 +547,8 @@ public class EndDragonFight {
|
|
|
|
blockPos = this.portalLocation;
|
|
}
|
|
+ // Luminol start - Disable end crystal check
|
|
+ if (!me.earthme.luminol.config.modules.misc.DisableEndCrystalCheckConfig.disableEndCrystalCheck) {
|
|
// Paper start - Perf: Do crystal-portal proximity check before entity lookup
|
|
if (placedEndCrystalPos != null) {
|
|
// The end crystal must be 0 or 1 higher than the portal origin
|
|
@@ -562,6 +564,7 @@ public class EndDragonFight {
|
|
}
|
|
}
|
|
// Paper end - Perf: Do crystal-portal proximity check before entity lookup
|
|
+ } // Luminol end - Disable end crystal check
|
|
|
|
|
|
List<EndCrystal> list = Lists.newArrayList();
|