package com.github.steveice10.mc.protocol.data.game.world.particle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;

@Data
@AllArgsConstructor
public class Particle {
    private final @NonNull ParticleType type;
    private final @NonNull ParticleData data;
}

package com.github.steveice10.mc.protocol.data.game.world.particle;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;

@Data
@AllArgsConstructor
public class Particle {
    private final @NonNull ParticleType type;
    private final ParticleData data;
}

Fix particle data being marked as non-null.
Fix particle data being marked as non-null.
