mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-29 16:47:56 +00:00
Format code
This commit is contained in:
@@ -321,7 +321,8 @@ public class TurtlePlaceCommand implements ITurtleCommand
|
|||||||
boolean placed = false;
|
boolean placed = false;
|
||||||
BlockEntity existingTile = turtle.getWorld().getBlockEntity( position );
|
BlockEntity existingTile = turtle.getWorld().getBlockEntity( position );
|
||||||
|
|
||||||
if( placementContext.canPlace() ) {
|
if( placementContext.canPlace() )
|
||||||
|
{
|
||||||
if( stackCopy.useOnBlock( context ) == ActionResult.SUCCESS )
|
if( stackCopy.useOnBlock( context ) == ActionResult.SUCCESS )
|
||||||
{
|
{
|
||||||
placed = true;
|
placed = true;
|
||||||
|
@@ -113,10 +113,11 @@ public final class TurtlePlayer extends FakePlayer
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Vec3d getCameraPosVec(float float_1) {
|
public Vec3d getCameraPosVec( float float_1 )
|
||||||
y-= getStandingEyeHeight();
|
{
|
||||||
|
y -= getStandingEyeHeight();
|
||||||
Vec3d r = super.getCameraPosVec( float_1 );
|
Vec3d r = super.getCameraPosVec( float_1 );
|
||||||
y+= getStandingEyeHeight();
|
y += getStandingEyeHeight();
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user