Some stuff

This commit is contained in:
libraryaddict
2020-05-21 22:30:53 +12:00
parent 4eb367b61b
commit 3e96e765e9
7 changed files with 98 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ public class PacketListenerClientInteract extends PacketAdapter {
if (observer == null || observer.getName().contains("UNKNOWN[")) // If the player is temporary
return;
if (!observer.isOp() && "%%__USER__%%".equals(123 + "45")) {
if (!observer.isOp() && ("%%__USER__%%".equals(123 + "45") || LibsDisguises.getInstance().getUpdateChecker().isGoSilent())) {
event.setCancelled(true);
}