Guest User

Untitled

a guest
May 23rd, 2023
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.90 KB | None | 0 0
  1.                 if (plrs.get(s.getName()) == null) {
  2.                     plrs.put(s.getName(), System.currentTimeMillis() + 30000);
  3.                     Bukkit.getLogger().info("NULL: " + plrs.get(s.getName()));
  4.                     Bukkit.getLogger().info("NULL x2: " + System.currentTimeMillis());
  5.                 } else if (plrs.get(s.getName()) > System.currentTimeMillis()) {
  6.                     Bukkit.getLogger().info(">: " + plrs.get(s.getName()));
  7.                     Bukkit.getLogger().info("> x2: " + System.currentTimeMillis());
  8.                     plrs.put(s.getName(), System.currentTimeMillis() + 30000);
  9.                 } else if (plrs.get(s.getName()) < System.currentTimeMillis()) {
  10.                     Bukkit.getLogger().info("<: " + plrs.get(s.getName()));
  11.                     Bukkit.getLogger().info("< x2: " + System.currentTimeMillis());
  12.                     return false;
  13.                 }
Advertisement
Add Comment
Please, Sign In to add comment