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

Method stop

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

Source from the content-addressed store, hash-verified

26 }
27
28 private static void stop(String id, String cooldownName) {
29 CooldownAPI.cooldowns.remove(id + cooldownName);
30 }
31
32 private static CooldownAPI getCooldown(String id, String cooldownName) {
33 return CooldownAPI.cooldowns.get(id + cooldownName);

Callers 2

isInCooldownMethod · 0.95
makeRunnableMethod · 0.80

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected