mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
More work GJ didn't ask me to do
This commit is contained in:
@ -15,6 +15,7 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.meta.FireworkMeta;
|
||||
|
||||
import com.gmail.nossr50.config.Config;
|
||||
import com.gmail.nossr50.datatypes.skills.SkillType;
|
||||
|
||||
public final class ParticleEffectUtils {
|
||||
|
||||
@ -73,6 +74,10 @@ public final class ParticleEffectUtils {
|
||||
fireworkParticleShower(player, Color.RED);
|
||||
}
|
||||
|
||||
public static void runescapeModeCelebration(Player player, SkillType skill) {
|
||||
fireworkParticleShower(player, skill.getRunescapeModeColor());
|
||||
}
|
||||
|
||||
private static void fireworkParticleShower(Player player, Color color) {
|
||||
Location location = player.getLocation();
|
||||
location.setY(location.getY() - 1.0);
|
||||
|
Reference in New Issue
Block a user