Prepare for release

This commit is contained in:
Rammelkast committed 2020-04-01 13:07:06 +02:00
1 parent 7e37e8558b
commit 3af7bde9db
8 files changed
+52 -48

No files matched your search

@@ -70,11 +70,11 @@ public class GlideCheck {
if (!AntiCheatReloaded.getManager().getBackend().silentMode()) {
Location prev = player.getLocation();
prev.setY(prev.getY() - distanceToFall(prev));
player.teleport(AntiCheatReloaded.getManager().getUserManager().getUser(player.getUniqueId()).getGoodLocation(prev));
player.teleport(AntiCheatReloaded.getManager().getUserManager().getUser(player.getUniqueId())
.getGoodLocation(prev));
}
return new CheckResult(CheckResult.Result.FAILED,
"type=glide, desc_amount="
+ new BigDecimal(yDiff).setScale(2, RoundingMode.HALF_UP) + ")");
"type=glide, desc_amount=" + new BigDecimal(yDiff).setScale(2, RoundingMode.HALF_UP) + ")");
} else {
VIOLATIONS.put(player.getUniqueId(), VIOLATIONS.get(player.getUniqueId()) + 1);
}