mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-27 09:41:22 +01:00
add enable check to stacker manager
This commit is contained in:
parent
72187d9efe
commit
fa03cef4cd
@ -4,8 +4,6 @@ import com.songoda.core.compatibility.LegacyMaterials;
|
|||||||
import com.songoda.core.configuration.DataStoreObject;
|
import com.songoda.core.configuration.DataStoreObject;
|
||||||
import com.songoda.core.configuration.SimpleDataStore;
|
import com.songoda.core.configuration.SimpleDataStore;
|
||||||
import com.songoda.core.gui.methods.Clickable;
|
import com.songoda.core.gui.methods.Clickable;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
|
@ -22,6 +22,16 @@ public class EntityStackerManager {
|
|||||||
return manager;
|
return manager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check to see if there is a default stacker hook loaded. <br />
|
||||||
|
* NOTE: using a default stacker assumes that this library is shaded
|
||||||
|
*
|
||||||
|
* @return returns false if there are no supported plugins
|
||||||
|
*/
|
||||||
|
public static boolean isEnabled() {
|
||||||
|
return manager.isEnabled();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grab the default hologram plugin. <br />
|
* Grab the default hologram plugin. <br />
|
||||||
* NOTE: using a default hologram assumes that this library is shaded
|
* NOTE: using a default hologram assumes that this library is shaded
|
||||||
|
Loading…
Reference in New Issue
Block a user