mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +00:00
Small formatting fixes
This commit is contained in:
1 parent
eb383f6033
commit
7d152c9d33
1 file changed
+2
-2
@@ -312,7 +312,7 @@ public class Backend {
|
|||||||
if (speed) {
|
if (speed) {
|
||||||
int num = this.increment(player, speedViolation, magic.SPEED_MAX);
|
int num = this.increment(player, speedViolation, magic.SPEED_MAX);
|
||||||
if(num >= magic.SPEED_MAX) {
|
if(num >= magic.SPEED_MAX) {
|
||||||
return new CheckResult(Result.FAILED, player.getName()+"'s speed was too high "+reason+num+"times in a row (max="+magic.SPEED_MAX+")");
|
return new CheckResult(Result.FAILED, player.getName()+"'s speed was too high "+reason+num+" times in a row (max="+magic.SPEED_MAX+")");
|
||||||
} else {
|
} else {
|
||||||
return PASS;
|
return PASS;
|
||||||
}
|
}
|
||||||
@@ -400,7 +400,7 @@ public class Backend {
|
|||||||
} else {
|
} else {
|
||||||
waterAscensionViolation.put(player.getName(), v + 1);
|
waterAscensionViolation.put(player.getName(), v + 1);
|
||||||
}
|
}
|
||||||
return new CheckResult(Result.FAILED, player.getName()+" stood on water "+v+" times (can't stand on "+block.getType()+" or "+block.getRelative(BlockFace.DOWN).getType()+"");
|
return new CheckResult(Result.FAILED, player.getName()+" stood on water "+v+" times (can't stand on "+block.getType()+" or "+block.getRelative(BlockFace.DOWN).getType()+")");
|
||||||
} else {
|
} else {
|
||||||
waterAscensionViolation.put(player.getName(), 1);
|
waterAscensionViolation.put(player.getName(), 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user