Changes loggig, renamed GhostHand to IllegalInteract.

This commit is contained in:
Rammelkast committed 2020-03-30 23:24:28 +02:00
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);
}