Fixed bugs added stuff
This commit is contained in:
@@ -32,7 +32,8 @@ public class FrameSpawnerLocation extends BukkitRunnable {
|
||||
iterator.next().spawn(location, rotation);
|
||||
else if (amount != 0) {
|
||||
iterator = frames.iterator();
|
||||
amount--;
|
||||
if (amount > 0)
|
||||
amount--;
|
||||
if (repeatDelay <= 0)
|
||||
return;
|
||||
try { //Wait before repeating the frames
|
||||
|
||||
@@ -42,7 +42,7 @@ public class FrameSpawnerPlayer extends BukkitRunnable {
|
||||
return;
|
||||
}
|
||||
ParticleSet activeParticleSet = playerSettings.getParticles(aPartType);
|
||||
if (activeParticleSet == null || !activeParticleSet.getParticleId().equalsIgnoreCase(uniqueId) || playerSettings.hasActiveParticles()) {
|
||||
if (activeParticleSet == null || !activeParticleSet.getParticleId().equalsIgnoreCase(uniqueId) || !playerSettings.hasActiveParticles()) {
|
||||
this.cancel();
|
||||
if (Config.DEBUG)
|
||||
Logger.info("Stopped repeating task due to player switching/disabling particles.");
|
||||
|
||||
Reference in New Issue
Block a user