File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -274,13 +274,12 @@ class StrafingScript {
274274 const y = pos . getY ( ) ;
275275 const z = pos . getZ ( ) ;
276276
277- // Add small buffer (1 block)
278- const minX = Math . min ( p1 . x , p2 . x ) - 1 ;
279- const maxX = Math . max ( p1 . x , p2 . x ) + 1 ;
280- const minY = Math . min ( p1 . y , p2 . y ) - 1 ;
281- const maxY = Math . max ( p1 . y , p2 . y ) + 1 ;
282- const minZ = Math . min ( p1 . z , p2 . z ) - 1 ;
283- const maxZ = Math . max ( p1 . z , p2 . z ) + 1 ;
277+ const minX = Math . min ( p1 . x , p2 . x ) ;
278+ const maxX = Math . max ( p1 . x , p2 . x ) ;
279+ const minY = Math . min ( p1 . y , p2 . y ) ;
280+ const maxY = Math . max ( p1 . y , p2 . y ) ;
281+ const minZ = Math . min ( p1 . z , p2 . z ) ;
282+ const maxZ = Math . max ( p1 . z , p2 . z ) ;
284283
285284 return x < minX || x > maxX || y < minY || y > maxY || z < minZ || z > maxZ ;
286285 }
You can’t perform that action at this time.
0 commit comments