Fixed build failure
This commit is contained in:
parent
c259e3f035
commit
749b712a91
|
|
@ -39,7 +39,7 @@ public class ActivateParticleSet implements GUIAction {
|
|||
else
|
||||
playerSettings.removeParticle(particleSet.getAPartType());
|
||||
if (enable && !particleSet.getAPartType().hasEvent() && playerSettings.hasActiveParticles())
|
||||
particleSet.run(player, playerSettings, player.getUniqueId());
|
||||
particleSet.run(player, playerSettings);
|
||||
}
|
||||
|
||||
private boolean updateItem(@NotNull ItemStack itemStack, Player player) {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public class BlockBreakListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(event.getBlock().getLocation(), uuid);
|
||||
particleSet.run(event.getBlock().getLocation(), player);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public class BlockPlaceListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(event.getBlock().getLocation(), uuid);
|
||||
particleSet.run(event.getBlock().getLocation(), player);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ public class DeathListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(player.getLocation(), uuid);
|
||||
particleSet.run(player.getLocation(), player);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public class KillListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(event.getEntity().getLocation(), uuid);
|
||||
particleSet.run(event.getEntity().getLocation(), player);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public class PlayerJoinListener implements Listener {
|
|||
ParticleSet particleSet = finalPlayerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(player, finalPlayerSettings, uuid);
|
||||
particleSet.run(player, finalPlayerSettings);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public class RightClickListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(player.getLocation(), uuid);
|
||||
particleSet.run(player.getLocation(), player);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ public class TeleportArriveListener implements Listener {
|
|||
ParticleSet particleSet = playerSettings.getParticles(aPartType);
|
||||
if (particleSet == null)
|
||||
return;
|
||||
particleSet.run(event.getTo(), uuid);
|
||||
particleSet.run(event.getTo(), player);
|
||||
});
|
||||
}
|
||||
}.runTaskAsynchronously(AltitudeParticles.getInstance());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user