mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-30 20:39:53 -05:00
Fix UUID For Player
This commit is contained in:
1 parent
72b77f08e1
commit
2c55e54909
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class CommandSender {
|
||||
public UUID getUniqueId() {
|
||||
if(Reflection.isVelocityServer()) return sender instanceof com.velocitypowered.api.proxy.Player ? ((com.velocitypowered.api.proxy.Player) sender).getUniqueId() : CONSOLE_UUID;
|
||||
else if(Reflection.isProxyServer()) return sender instanceof ProxiedPlayer ? ((ProxiedPlayer) sender).getUniqueId() : CONSOLE_UUID;
|
||||
else if(sender instanceof Player) ((Player) sender).getUniqueId();
|
||||
else if(sender instanceof Player) return ((Player) sender).getUniqueId();
|
||||
return CONSOLE_UUID;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user