From 0250c27c2367590b5177362fdbc998631c131e5b Mon Sep 17 00:00:00 2001 From: Austin Mayes Date: Thu, 20 Sep 2018 17:06:28 -0500 Subject: [PATCH] Add ghost gizmo --- .../src/main/i18n/templates/lobby/LobbyMessages.properties | 4 +--- .../tc/oc/lobby/bukkit/gizmos/halloween/ghost/GhostGizmo.java | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Commons/core/src/main/i18n/templates/lobby/LobbyMessages.properties b/Commons/core/src/main/i18n/templates/lobby/LobbyMessages.properties index 08d49f7..e69e0c9 100644 --- a/Commons/core/src/main/i18n/templates/lobby/LobbyMessages.properties +++ b/Commons/core/src/main/i18n/templates/lobby/LobbyMessages.properties @@ -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 \ No newline at end of file +trial.upgrade = Visit {0} to extend your membership. \ No newline at end of file diff --git a/Lobby/src/main/java/tc/oc/lobby/bukkit/gizmos/halloween/ghost/GhostGizmo.java b/Lobby/src/main/java/tc/oc/lobby/bukkit/gizmos/halloween/ghost/GhostGizmo.java index 35375da..0b0dfdc 100644 --- a/Lobby/src/main/java/tc/oc/lobby/bukkit/gizmos/halloween/ghost/GhostGizmo.java +++ b/Lobby/src/main/java/tc/oc/lobby/bukkit/gizmos/halloween/ghost/GhostGizmo.java @@ -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 coolDowns = new OnlinePlayerMapAdapter<>(Lobby.get()); private static final Duration COOLDOWN = Duration.ofMinutes(1);