13
0

Fix WingParticle Memory Leak
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-04-10 18:55:45 +02:00
Ursprung 89116cf243
Commit 148d6be2ce

Datei anzeigen

@ -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