3
0
Fork 0

Fixed typo

This commit is contained in:
stijnb1234 2020-04-18 10:13:14 +02:00
parent fc8c1bbbc1
commit 660ea45743
2 changed files with 1 additions and 3 deletions

View file

@ -8,14 +8,12 @@ import nl.sbdeveloper.themeparkplus.util.ConfigUtil;
import nl.sbdeveloper.themeparkplus.util.Cuboid; import nl.sbdeveloper.themeparkplus.util.Cuboid;
import nl.sbdeveloper.themeparkplus.util.LGUtil; import nl.sbdeveloper.themeparkplus.util.LGUtil;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import java.util.Collections; import java.util.Collections;

View file

@ -92,7 +92,7 @@ public class FastpassListeners implements Listener {
ItemMeta meta = ticket.getItemMeta(); ItemMeta meta = ticket.getItemMeta();
if (meta == null) return; if (meta == null) return;
meta.setDisplayName(ticketName); meta.setDisplayName(ticketName);
List<String> ticketLores = ConfigUtil.getLore("Fastpass.Item.Lore", Collections.singletonMap("%ridename", att.getName())); List<String> ticketLores = ConfigUtil.getLore("Fastpass.Item.Lore", Collections.singletonMap("%ridename%", att.getName()));
meta.setLore(ticketLores); meta.setLore(ticketLores);
ticket.setItemMeta(meta); ticket.setItemMeta(meta);