Advertisement
Guest User

Untitled

a guest
Feb 7th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement