Off by .5 error

- Contraptions no longer jump half a block when assembled on a cart assembler
- fixes #2880
This commit is contained in:
Grimmauld 2022-05-19 19:33:39 +02:00
parent 428507038d
commit 657f42c67a

View file

@ -162,7 +162,7 @@ public class CartAssemblerTileEntity extends SmartTileEntity implements IDisplay
OrientedContraptionEntity entity = OrientedContraptionEntity.create(world, contraption, initialOrientation);
if (couplingFound)
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);
entity.startRiding(cart);