From 3fff52093866e2d0c0c652ae55a2a357c908348e Mon Sep 17 00:00:00 2001 From: TudbuT Date: Wed, 19 Jun 2024 19:07:42 +0200 Subject: [PATCH] fix Fill module having too much reach, the second --- .../de/com/baseband/client/feature/modules/ingame/Fill.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/ingame/Fill.java b/Client/src/main/java/de/com/baseband/client/feature/modules/ingame/Fill.java index 94f1744..db8e0ff 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/ingame/Fill.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/ingame/Fill.java @@ -70,8 +70,8 @@ public class Fill extends Feature { // loop through intersection of box around player and the selection Vec3d eyePos = mc.player.getPositionEyes(1); - BlockPos pBoxMin = new BlockPos(eyePos.add(-4.5, -4.5, -4.5)); - BlockPos pBoxMax = new BlockPos(eyePos.add(4.5, 4.5, 4.5)); + BlockPos pBoxMin = new BlockPos(eyePos.add(-4, -4, -4)); + BlockPos pBoxMax = new BlockPos(eyePos.add(4, 4, 4)); BlockPos selectMin = Select.selection.pos1; BlockPos selectMax = Select.selection.pos2; int minX = Math.max(pBoxMin.getX(), selectMin.getX()), maxX = Math.min(pBoxMax.getX(), selectMax.getX());