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

Method getCooldown

src/main/java/com/mohistmc/api/CooldownAPI.java:32–34  ·  view source on GitHub ↗
(String id, String cooldownName)

Source from the content-addressed store, hash-verified

30 }
31
32 private static CooldownAPI getCooldown(String id, String cooldownName) {
33 return CooldownAPI.cooldowns.get(id + cooldownName);
34 }
35
36 public static int getTimeLeft(String id, String cooldownName) {
37 CooldownAPI cooldown = getCooldown(id, cooldownName);

Callers 2

getTimeLeftMethod · 0.95
getTimeLeftDoubleMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected