mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fix #33
This commit is contained in:
1 parent
792a4ae0a5
commit
583d2de244
1 file changed
+3
@@ -177,6 +177,9 @@ public class Backend {
|
||||
|
||||
public CheckResult checkFastBow(Player player, float force) {
|
||||
// Ignore magic numbers here, they are minecrafty vanilla stuff.
|
||||
if (!bowWindUp.containsKey(player.getUniqueId())) {
|
||||
return PASS;
|
||||
}
|
||||
int ticks = (int) ((((System.currentTimeMillis() - bowWindUp.get(player.getUniqueId())) * 20) / 1000) + 3);
|
||||
bowWindUp.remove(player.getUniqueId());
|
||||
float f = (float) ticks / 20.0F;
|
||||
|
||||
Reference in new issue
Block a user