mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Knockback support
This commit is contained in:
1 parent
8197e5e599
commit
0789cac97f
2 files changed
+10
-4
No files matched your search
@@ -40,7 +40,7 @@ public class ExemptManager {
|
||||
}
|
||||
}
|
||||
|
||||
public void logHit(final Player player)
|
||||
public void logHit(final Player player, int time)
|
||||
{
|
||||
hit.put(player, true);
|
||||
plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable()
|
||||
@@ -50,7 +50,7 @@ public class ExemptManager {
|
||||
{
|
||||
hit.put(player, false);
|
||||
}
|
||||
}, 50L);
|
||||
}, time);
|
||||
}
|
||||
|
||||
public boolean isHit(Player player)
|
||||
|
||||
Reference in new issue
Block a user