mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-27 02:47:50 +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);
|
Bukkit.getPluginManager().registerEvents(new EntityListeners(this), this);
|
||||||
|
|
||||||
// Register Hologram Plugin
|
// Register Hologram Plugin
|
||||||
if (pluginManager.isPluginEnabled("Arconix")) hologram = new HologramArconix(this);
|
if (instance.getConfig().getBoolean("Spawners.Holograms Enabled")) {
|
||||||
else if (pluginManager.isPluginEnabled("HolographicDisplays")) hologram = new HologramHolographicDisplays(this);
|
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);
|
Bukkit.getScheduler().runTaskTimerAsynchronously(this, this::saveToFile, 6000, 6000);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user