mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Changes loggig, renamed GhostHand to IllegalInteract.
This commit is contained in:
1 parent
2ba98f9f9c
commit
f77d45a78d
19 files changed
+73
-65
No files matched your search
@@ -39,8 +39,7 @@ public class CriticalsCheck {
|
||||
if ((p.getLocation().getY() % 1.0 == 0 || p.getLocation().getY() % 0.5 == 0)
|
||||
&& p.getLocation().clone().subtract(0, 1.0, 0).getBlock().getType().isSolid()) {
|
||||
e.setCancelled(true);
|
||||
EventListener.log(new CheckResult(CheckResult.Result.FAILED,
|
||||
p.getName() + " failed Criticals, tried to do a critical without needed conditions")
|
||||
EventListener.log(new CheckResult(CheckResult.Result.FAILED, "tried to do a critical without needed conditions")
|
||||
.getMessage(),
|
||||
p, CheckType.CRITICALS);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user