Update engine/src/main/java/org/terasology/particles/functions/generators/TextureOffsetGeneratorFunction.java
@@ -38,6 +38,6 @@ public void onEmission(TextureOffsetGeneratorComponent component, ParticleData p
final int randomOffsetIndex = random.nextInt(component.validOffsets.size());
final Vector2f randomOffset = component.validOffsets.get(randomOffsetIndex);
- particleData.textureOffset.set(randomOffset.x(), randomOffset.y());
+ particleData.textureOffset.set(randomOffset);
}
}
