diff --git a/core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaLevelParticlesTranslator.java b/core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaLevelParticlesTranslator.java index 3c73b1886..336fedc65 100644 --- a/core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaLevelParticlesTranslator.java +++ b/core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaLevelParticlesTranslator.java @@ -132,11 +132,7 @@ public class JavaLevelParticlesTranslator extends PacketTranslator { //TODO DustParticleData data = (DustParticleData) particle.getData(); -// int r = (int) (data.getRed() * 255); -// int g = (int) (data.getGreen() * 255); -// int b = (int) (data.getBlue() * 255); -// int rgbData = ((0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); - int rgbData = data.getColor(); // TEST + int rgbData = data.getColor(); return (position) -> { LevelEventPacket packet = new LevelEventPacket(); packet.setType(ParticleType.FALLING_DUST);