fix Fill module having too much reach, the second
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
This commit is contained in:
parent
afcd3b3629
commit
3fff520938
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue