Register UltimateStacker events

This commit is contained in:
Esophose 2019-06-05 04:04:14 -06:00
parent 3ea184fe69
commit 1e3ac82c8d
2 changed files with 4 additions and 1 deletions

View File

@ -155,6 +155,8 @@ public class SkyBlock extends JavaPlugin {
pluginManager.registerEvents(new EpicSpawners(this), this);
if (pluginManager.isPluginEnabled("WildStacker"))
pluginManager.registerEvents(new WildStacker(this), this);
if (pluginManager.isPluginEnabled("UltimateStacker"))
pluginManager.registerEvents(new UltimateStacker(this), this);
pluginManager.registerEvents(new Rollback(), this);
pluginManager.registerEvents(new Levelling(), this);

View File

@ -13,10 +13,11 @@ import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import java.io.File;
public class UltimateStacker {
public class UltimateStacker implements Listener {
private final SkyBlock skyblock;