mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-26 02:17:38 +01:00
Update src/main/java/com/songoda/ultimatestacker/UltimateStacker.java
This commit is contained in:
parent
8ba24e5f67
commit
327d222841
@ -205,8 +205,11 @@ public class UltimateStacker extends JavaPlugin {
|
||||
Bukkit.getPluginManager().registerEvents(new EntityListeners(this), this);
|
||||
|
||||
// Register Hologram Plugin
|
||||
if (pluginManager.isPluginEnabled("Arconix")) hologram = new HologramArconix(this);
|
||||
else if (pluginManager.isPluginEnabled("HolographicDisplays")) hologram = new HologramHolographicDisplays(this);
|
||||
if (instance.getConfig().getBoolean("Spawners.Holograms Enabled")) {
|
||||
if (pluginManager.isPluginEnabled("HolographicDisplays"))
|
||||
hologram = new HologramHolographicDisplays(this);
|
||||
else if (pluginManager.isPluginEnabled("Arconix")) hologram = new HologramArconix(this);
|
||||
}
|
||||
|
||||
Bukkit.getScheduler().runTaskTimerAsynchronously(this, this::saveToFile, 6000, 6000);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user