Fixed bug caused by mapping update, not being able to rclick on parts on a certain side.
This commit is contained in:
parent
e6e858820f
commit
7f7495f1df
1 changed files with 2 additions and 2 deletions
|
@ -418,7 +418,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
||||||
p.getBoxes( bch );
|
p.getBoxes( bch );
|
||||||
for( AxisAlignedBB bb : boxes )
|
for( AxisAlignedBB bb : boxes )
|
||||||
{
|
{
|
||||||
bb = bb.expand( 0.002, 0.002, 0.002 );
|
bb = bb.grow( 0.002, 0.002, 0.002 );
|
||||||
if( bb.contains( pos ) )
|
if( bb.contains( pos ) )
|
||||||
{
|
{
|
||||||
return new SelectedPart( p, side );
|
return new SelectedPart( p, side );
|
||||||
|
@ -441,7 +441,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
|
||||||
p.getBoxes( bch, null );
|
p.getBoxes( bch, null );
|
||||||
for( AxisAlignedBB bb : boxes )
|
for( AxisAlignedBB bb : boxes )
|
||||||
{
|
{
|
||||||
bb = bb.expand( 0.01, 0.01, 0.01 );
|
bb = bb.grow( 0.01, 0.01, 0.01 );
|
||||||
if( bb.contains( pos ) )
|
if( bb.contains( pos ) )
|
||||||
{
|
{
|
||||||
return new SelectedPart( p, side );
|
return new SelectedPart( p, side );
|
||||||
|
|
Loading…
Reference in a new issue