1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-30 09:07:55 +00:00

Format code

This commit is contained in:
parly
2019-09-16 22:45:32 +09:00
parent 0e6797c7da
commit 579a38d366
2 changed files with 6 additions and 4 deletions

View File

@@ -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;

View File

@@ -113,7 +113,8 @@ 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();