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;
|
||||
BlockEntity existingTile = turtle.getWorld().getBlockEntity( position );
|
||||
|
||||
if( placementContext.canPlace() ) {
|
||||
if( placementContext.canPlace() )
|
||||
{
|
||||
if( stackCopy.useOnBlock( context ) == ActionResult.SUCCESS )
|
||||
{
|
||||
placed = true;
|
||||
|
@@ -113,10 +113,11 @@ public final class TurtlePlayer extends FakePlayer
|
||||
}
|
||||
|
||||
@Override
|
||||
public Vec3d getCameraPosVec(float float_1) {
|
||||
y-= getStandingEyeHeight();
|
||||
public Vec3d getCameraPosVec( float float_1 )
|
||||
{
|
||||
y -= getStandingEyeHeight();
|
||||
Vec3d r = super.getCameraPosVec( float_1 );
|
||||
y+= getStandingEyeHeight();
|
||||
y += getStandingEyeHeight();
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user