public long getCooldownTime(ObjectContainer container, ClientContext context, long now) { if (persistent) container.activate(segment, 1); HasCooldownCacheItem parentRGA = getParentGrabArray(); long wakeTime = segment.getCooldownTime(container, context, parentRGA, now); if (wakeTime > 0) context.cooldownTracker.setCachedWakeup( wakeTime, this, parentRGA, persistent, container, context, true); return wakeTime; }