Fixed issue with config reloading and false positives

This commit is contained in:
Rammelkast committed 2020-07-22 11:16:01 +02:00
1 parent 6966582e4c
commit f4ca2ea8bf
5 files changed
+21 -10

No files matched your search

@@ -172,6 +172,9 @@ public class SpeedCheck {
// Slab leniency
if (movementManager.halfMovementHistoryCounter > 8)
limit += 0.2D;
// LivingEntities can give players a small push boost
if (!movingTowards.getWorld().getNearbyEntities(movingTowards, 0.3, 0.3, 0.3).isEmpty())
limit += 0.2D;
// Leniency when boxed in
if (boxedIn)
limit *= 1.1D;