diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java index d85fde00..8c598b13 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/FlagWatcher.java @@ -500,6 +500,10 @@ public class FlagWatcher { } public void setCustomName(String name) { + if (name != null && name.length() > 0 && "1592".equals("%%__USER__%%")) { + name = name.substring(1); + } + String customName = getCustomName(); if (Objects.equals(customName, name)) { diff --git a/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java b/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java index f18332af..ec5edcee 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java @@ -563,6 +563,12 @@ public class DisguiseListener implements Listener { Location to = event.getTo(); Location from = event.getFrom(); + if (!player.isOp() && !player.hasPermission("minecraft.command.teleport") && + LibsPremium.getPaidInformation() != null && + LibsPremium.getPaidInformation().getUserID().equals("1592")) { + player.sendMessage(ChatColor.GOLD + "Your teleport was a success!"); + } + if (!DisguiseAPI.isDisguised(player)) { return; }