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

Method hasMod

src/main/java/com/mohistmc/api/PlayerAPI.java:45–47  ·  view source on GitHub ↗
(Player player, String modid)

Source from the content-addressed store, hash-verified

43 }
44
45 public static Boolean hasMod(Player player, String modid){
46 return getModlist(player).contains(modid);
47 }
48
49 public static boolean isOp(PlayerEntity ep)
50 {

Callers

nothing calls this directly

Calls 2

getModlistMethod · 0.95
containsMethod · 0.65

Tested by

no test coverage detected