diff --git a/src/de/steamwar/lobby/particle/decorator/WingParticle.java b/src/de/steamwar/lobby/particle/decorator/WingParticle.java index 8da6905..ea48404 100644 --- a/src/de/steamwar/lobby/particle/decorator/WingParticle.java +++ b/src/de/steamwar/lobby/particle/decorator/WingParticle.java @@ -19,10 +19,12 @@ package de.steamwar.lobby.particle.decorator; +import de.steamwar.lobby.LobbySystem; import de.steamwar.lobby.particle.BaseParticle; import de.steamwar.lobby.particle.ParticleData; import de.steamwar.lobby.particle.ParticleItem; import lombok.SneakyThrows; +import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; @@ -81,6 +83,8 @@ public class WingParticle implements BaseParticle, Listener { this.particle = particle; this.size = size; this.wingDesign = wingDesign; + + Bukkit.getPluginManager().registerEvents(this, LobbySystem.getPlugin()); } @Override