MCPcopy Create free account
hub / github.com/Teneted/Tenet / hasMod

Method hasMod

src/main/java/com/mohistmc/api/ServerAPI.java:28–30  ·  view source on GitHub ↗
(String modid)

Source from the content-addressed store, hash-verified

26 }
27
28 public static Boolean hasMod(String modid) {
29 return getModList().contains(modid);
30 }
31
32 public static Boolean hasPlugin(String pluginname) {
33 return Bukkit.getPluginManager().getPlugin(pluginname) != null;

Callers

nothing calls this directly

Calls 2

getModListMethod · 0.95
containsMethod · 0.65

Tested by

no test coverage detected