Makes some particle classes final
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2023-07-08 15:33:27 +02:00
parent ad5dabc712
commit e35156bea9
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import org.jetbrains.annotations.NotNull;
* A configuration describing a particle
*/
@SuppressWarnings("unused")
public class ParticleConfig {
public final class ParticleConfig {
private final ParticleMode particleMode;
private final Particle particleType;

View File

@ -16,7 +16,7 @@ import java.util.function.Supplier;
* A runnable tasks that spawns particles at the given blocks
*/
@SuppressWarnings("unused")
public class ParticleSpawner implements Runnable {
public final class ParticleSpawner implements Runnable {
private final ParticleConfig particleConfig;
private final Map<Material, ParticleConfig> materialConfigs;

View File

@ -20,7 +20,7 @@ import java.util.UUID;
* A task for spawning trails behind players
*/
@SuppressWarnings("unused")
public class ParticleTrailSpawner implements Runnable {
public final class ParticleTrailSpawner implements Runnable {
private final Set<UUID> playersWithTrails = new HashSet<>();
private final Map<UUID, Particle> playerParticles = new HashMap<>();