Add trickies yes

This commit is contained in:
libraryaddict 2020-11-25 00:39:38 +13:00
parent 9320aac40b
commit 7e2c04a331
2 changed files with 10 additions and 0 deletions

View File

@ -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)) {

View File

@ -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;
}