aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/end/TheEnd.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/end/TheEnd.java b/src/main/java/de/hysky/skyblocker/skyblock/end/TheEnd.java
index b7ebbeff..f72ae34e 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/end/TheEnd.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/end/TheEnd.java
@@ -86,7 +86,7 @@ public class TheEnd {
ChunkPos pos = chunk.getPos();
//
Box box = new Box(pos.getStartX(), 0, pos.getStartZ(), pos.getEndX() + 1, 1, pos.getEndZ() + 1);
- locationsLoop: for (ProtectorLocation protectorLocation : protectorLocations) {
+ for (ProtectorLocation protectorLocation : protectorLocations) {
if (box.contains(protectorLocation.x, 0.5, protectorLocation.z)) {
MinecraftClient.getInstance().player.sendMessage(Text.literal("Checking: ").append(protectorLocation.name));//MinecraftClient.getInstance().player.sendMessage(Text.literal(pos.getStartX() + " " + pos.getStartZ() + " " + pos.getEndX() + " " + pos.getEndZ()));
if (isProtectorHere(world, protectorLocation)) break;
@@ -128,9 +128,9 @@ public class TheEnd {
private static void checkAllProtectorLocations() {
ClientWorld world = MinecraftClient.getInstance().world;
if (world == null) return;
- locationsLoop: for (ProtectorLocation protectorLocation : protectorLocations) {
+ for (ProtectorLocation protectorLocation : protectorLocations) {
if (!world.isChunkLoaded(protectorLocation.x() >> 4, protectorLocation.z >> 4)) continue;
- if (isProtectorHere(world, protectorLocation)) break locationsLoop;
+ if (isProtectorHere(world, protectorLocation)) break;
}
}