Add ghost gizmo

This commit is contained in:
Austin Mayes 2018-09-20 17:06:28 -05:00
parent 0a04adbd0f
commit 0250c27c23
2 changed files with 2 additions and 3 deletions

View File

@ -57,6 +57,4 @@ trial.joinFull = join full servers
trial.chooseTeam = choose their team
# {0} = shop URL
trial.upgrade = Visit {0} to extend your membership.
version.too.old.gizmo = This gizmo requires at least Minecraft 1.9
trial.upgrade = Visit {0} to extend your membership.

View File

@ -17,6 +17,7 @@ import tc.oc.lobby.bukkit.gizmos.Gizmos;
import tc.oc.lobby.bukkit.gizmos.halloween.HalloweenGizmo;
public class GhostGizmo extends HalloweenGizmo implements Listener {
private final OnlinePlayerMapAdapter<Instant> coolDowns = new OnlinePlayerMapAdapter<>(Lobby.get());
private static final Duration COOLDOWN = Duration.ofMinutes(1);