Makes some particle classes final
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
All checks were successful
EpicKnarvik97/KnarLib/pipeline/head This commit looks good
This commit is contained in:
parent
ad5dabc712
commit
e35156bea9
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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<>();
|
||||
|
Loading…
Reference in New Issue
Block a user