SHARE
TWEET

Untitled

a guest Feb 7th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if (hashMap.containsKey(uuid)) {
  2.             final long cd = hashMap.get(uuid);
  3.             final long estimatedTime = System.nanoTime() - cd;
  4.             hashMap.remove(uuid);
  5.             if(estimatedTime < 1_000_000) {
  6.                 System.out.println(TimeUnit.SECONDS.convert(estimatedTime, TimeUnit.NANOSECONDS));
  7.                 player.sendMessage(q("&c&mDouble kill!&f DoubleShift!"));
  8.             }
  9.         } else {
  10.             final long startTime = System.nanoTime();
  11.             hashMap.put(uuid, startTime);
  12.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top