mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 22:15:28 +00:00
Do the last commit, but make the coding style look "safe" and not something that would break a check.
This commit is contained in:
1 parent
e570bbaa7f
commit
b518f108d0
1 file changed
+2
@@ -68,8 +68,10 @@ public class PlayerListener extends EventListener
|
|||||||
Player player = (Player) event.getEntity().getShooter();
|
Player player = (Player) event.getEntity().getShooter();
|
||||||
|
|
||||||
if (event.getEntity() instanceof Arrow)
|
if (event.getEntity() instanceof Arrow)
|
||||||
|
{
|
||||||
// TF2 Heavy does not approve of this action. He yells "NO!"
|
// TF2 Heavy does not approve of this action. He yells "NO!"
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (checkManager.willCheck(player, CheckType.FAST_PROJECTILE))
|
if (checkManager.willCheck(player, CheckType.FAST_PROJECTILE))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user