aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorvicisacat <victor.branchu@gmail.com>2024-04-23 18:58:26 +0200
committervicisacat <victor.branchu@gmail.com>2024-04-23 18:58:26 +0200
commita3834cc067af4ed8dbe5a93e7efe8d87f86244fa (patch)
tree4df2eaf662ed4c3cb316b23bc13949243be49f08 /src/main/java
parentba1c76abfd9a6420d4b8c4ead975e2958f51847e (diff)
downloadSkyblocker-a3834cc067af4ed8dbe5a93e7efe8d87f86244fa.tar.gz
Skyblocker-a3834cc067af4ed8dbe5a93e7efe8d87f86244fa.tar.bz2
Skyblocker-a3834cc067af4ed8dbe5a93e7efe8d87f86244fa.zip
cleanup
Diffstat (limited to 'src/main/java')
-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;
}
}