From 660ea457434ec89e8c5a36909d82dc811ea33494 Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Sat, 18 Apr 2020 10:13:14 +0200 Subject: [PATCH] Fixed typo --- src/main/java/nl/sbdeveloper/themeparkplus/commands/TPPCMD.java | 2 -- .../sbdeveloper/themeparkplus/listeners/FastpassListeners.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/nl/sbdeveloper/themeparkplus/commands/TPPCMD.java b/src/main/java/nl/sbdeveloper/themeparkplus/commands/TPPCMD.java index 226554d..83af0e4 100644 --- a/src/main/java/nl/sbdeveloper/themeparkplus/commands/TPPCMD.java +++ b/src/main/java/nl/sbdeveloper/themeparkplus/commands/TPPCMD.java @@ -8,14 +8,12 @@ import nl.sbdeveloper.themeparkplus.util.ConfigUtil; import nl.sbdeveloper.themeparkplus.util.Cuboid; import nl.sbdeveloper.themeparkplus.util.LGUtil; import org.bukkit.Bukkit; -import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; -import org.bukkit.command.ConsoleCommandSender; import org.jetbrains.annotations.NotNull; import java.util.Collections; diff --git a/src/main/java/nl/sbdeveloper/themeparkplus/listeners/FastpassListeners.java b/src/main/java/nl/sbdeveloper/themeparkplus/listeners/FastpassListeners.java index 5525eb8..c3eaefe 100644 --- a/src/main/java/nl/sbdeveloper/themeparkplus/listeners/FastpassListeners.java +++ b/src/main/java/nl/sbdeveloper/themeparkplus/listeners/FastpassListeners.java @@ -92,7 +92,7 @@ public class FastpassListeners implements Listener { ItemMeta meta = ticket.getItemMeta(); if (meta == null) return; meta.setDisplayName(ticketName); - List ticketLores = ConfigUtil.getLore("Fastpass.Item.Lore", Collections.singletonMap("%ridename", att.getName())); + List ticketLores = ConfigUtil.getLore("Fastpass.Item.Lore", Collections.singletonMap("%ridename%", att.getName())); meta.setLore(ticketLores); ticket.setItemMeta(meta);