SHARE
TWEET

Untitled

a guest Feb 7th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         final long startTime = System.currentTimeMillis();
  2.         if (hashMap.containsKey(uuid)) {
  3.             final long cd = hashMap.get(uuid);
  4.             final long estimatedTime = startTime - cd;
  5.             hashMap.remove(uuid);
  6.             if(estimatedTime < 3_000_000) {
  7.                 player.sendMessage(q("&c&mDouble kill!&f DoubleShift!"));
  8.             }
  9.         } else {
  10.             hashMap.put(uuid, startTime);
  11.         }
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