Preserve the rotation and scale in addTranslation(). Fixes SpongePowered#1557
@@ -345,7 +345,7 @@ public Vector3d getScale() {
*/
public Transform<E> addTranslation(Vector3d translation) {
checkNotNull(translation, "translation");
- return new Transform<>(getExtent(), getPosition().add(translation));
+ return new Transform<>(getExtent(), getPosition().add(translation), getRotation(), getScale());
}
/**
