mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Various java compliance & rule fixes. More of this and optimization tomorrow.
This commit is contained in:
1 parent
6b2835b018
commit
39db8afe81
10 files changed
+94
-143
No files matched your search
@@ -41,12 +41,9 @@ public class XRayListener implements Listener
|
||||
if (config.logXRay())
|
||||
{
|
||||
Player p = event.getPlayer();
|
||||
if(p.getGameMode() == GameMode.CREATIVE)
|
||||
if(p.getGameMode() == GameMode.CREATIVE && !config.trackCreativeXRay())
|
||||
{
|
||||
if(!config.trackCreativeXRay())
|
||||
{
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
String player = p.getName();
|
||||
if (checkManager.willCheck(p, CheckType.XRAY))
|
||||
|
||||
Reference in new issue
Block a user