forked from SteamWar/SteamWar
Implement Linkage for LobbySystem
This commit is contained in:
@@ -28,7 +28,7 @@ public class Delayed extends DelegatingParticleElement {
|
||||
|
||||
public Delayed(ParticleElement particleElement, int interval) {
|
||||
super(particleElement);
|
||||
Bukkit.getPluginManager().registerEvents(delayedData, LobbySystem.getPlugin());
|
||||
Bukkit.getPluginManager().registerEvents(delayedData, LobbySystem.getInstance());
|
||||
this.interval = interval;
|
||||
if (interval <= 0) {
|
||||
throw new IllegalArgumentException("Interval must be greater than 0");
|
||||
|
||||
Reference in New Issue
Block a user