Removed print statement.

This commit is contained in:
Andrew Lalis 2021-07-23 11:35:29 +02:00
parent 9fd4aef5ca
commit 9021daed5a
1 changed files with 0 additions and 1 deletions

View File

@ -315,7 +315,6 @@ public abstract class AbstractMinecartMixin extends Entity {
w = this.getMaxOffRailSpeed();
velocity = this.getVelocity();
Vec3d movement = new Vec3d(MathHelper.clamp(v * velocity.x, -w, w), 0.0D, MathHelper.clamp(v * velocity.z, -w, w));
System.out.println("Moving: " + movement + ", Max speed: " + w + ", Z velocity: " + velocity.z);
this.move(MovementType.SELF, movement);
if (vec3i.getY() != 0 && MathHelper.floor(this.getX()) - pos.getX() == vec3i.getX() && MathHelper.floor(this.getZ()) - pos.getZ() == vec3i.getZ()) {
this.setPosition(this.getX(), this.getY() + (double)vec3i.getY(), this.getZ());