Post shutdown fixes

This commit is contained in:
cyberpwn committed 2021-08-18 14:08:28 -04:00
1 parent a09e77a17d
commit 059d5542c9
3 files changed
+32 -15

No files matched your search

@@ -18,10 +18,16 @@
package com.volmit.iris.util.plugin;
import com.volmit.iris.Iris;
import org.bukkit.event.Listener;
public interface IrisService extends Listener {
void onEnable();
void onDisable();
default void postShutdown(Runnable r)
{
Iris.instance.postShutdown(r);
}
}