Off by .5 error
- Contraptions no longer jump half a block when assembled on a cart assembler - fixes #2880
This commit is contained in:
parent
428507038d
commit
657f42c67a
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ public class CartAssemblerTileEntity extends SmartTileEntity implements IDisplay
|
||||||
OrientedContraptionEntity entity = OrientedContraptionEntity.create(world, contraption, initialOrientation);
|
OrientedContraptionEntity entity = OrientedContraptionEntity.create(world, contraption, initialOrientation);
|
||||||
if (couplingFound)
|
if (couplingFound)
|
||||||
entity.setCouplingId(cart.getUUID());
|
entity.setCouplingId(cart.getUUID());
|
||||||
entity.setPos(pos.getX(), pos.getY(), pos.getZ());
|
entity.setPos(pos.getX() + .5, pos.getY(), pos.getZ() + .5);
|
||||||
world.addFreshEntity(entity);
|
world.addFreshEntity(entity);
|
||||||
entity.startRiding(cart);
|
entity.startRiding(cart);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue