mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Fix for issue #6 - projectile launch bug
This commit is contained in:
1 parent
31be5a1b8e
commit
79a88c9de2
4 files changed
+2
-25
No files matched your search
@@ -22,8 +22,6 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.h31ix.anticheat.Anticheat;
|
||||
import net.h31ix.anticheat.event.EventListener;
|
||||
import net.h31ix.anticheat.util.Distance;
|
||||
import net.h31ix.anticheat.util.Utilities;
|
||||
@@ -1023,17 +1021,6 @@ public class Backend
|
||||
return animated.containsKey(player.getName());
|
||||
}
|
||||
|
||||
public boolean justLaunched(Player player)
|
||||
{
|
||||
if (projectileHold.contains(player.getName()))
|
||||
{
|
||||
increment(player, projectilesShot, PROJECTILE_MAX);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public void logProjectile(final Player player, final EventListener e)
|
||||
{
|
||||
if (projectileHold.contains(player.getName()))
|
||||
|
||||
Reference in new issue
Block a user