Add trickies yes
This commit is contained in:
parent
9320aac40b
commit
7e2c04a331
@ -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)) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user