mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Merge branch 'master' of https://github.com/h31ix/AntiCheat.git
This commit is contained in:
commit
a484e6b3d4
1 file changed
+3
-3
@@ -51,7 +51,7 @@ public class Backend
|
|||||||
public static final int FASTBREAK_MAXVIOLATIONTIME = 10000;
|
public static final int FASTBREAK_MAXVIOLATIONTIME = 10000;
|
||||||
public static final int FASTPLACE_LIMIT = 2;
|
public static final int FASTPLACE_LIMIT = 2;
|
||||||
public static final int FASTPLACE_ZEROLIMIT = 3;
|
public static final int FASTPLACE_ZEROLIMIT = 3;
|
||||||
public static final int FASTPLACE_TIMEMAX = 80;
|
public static final int FASTPLACE_TIMEMAX = 100;
|
||||||
public static final int FASTPLACE_MAXVIOLATIONS = 2;
|
public static final int FASTPLACE_MAXVIOLATIONS = 2;
|
||||||
public static final int FASTPLACE_MAXVIOLATIONS_CREATIVE = 3;
|
public static final int FASTPLACE_MAXVIOLATIONS_CREATIVE = 3;
|
||||||
public static final int FASTPLACE_MAXVIOLATIONTIME = 10000;
|
public static final int FASTPLACE_MAXVIOLATIONTIME = 10000;
|
||||||
@@ -506,7 +506,7 @@ public class Backend
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(thisTime < FASTPLACE_TIMEMAX && lastTime < FASTPLACE_TIMEMAX
|
if(thisTime < FASTPLACE_TIMEMAX && lastTime < FASTPLACE_TIMEMAX
|
||||||
|| nocheck && lastZeroHitPlace.get(name) > FASTPLACE_ZEROLIMIT)
|
&& nocheck && lastZeroHitPlace.get(name) > FASTPLACE_ZEROLIMIT)
|
||||||
{
|
{
|
||||||
lastBlockPlaceTime.put(name, (time-last));
|
lastBlockPlaceTime.put(name, (time-last));
|
||||||
lastBlockPlaced.put(name, time);
|
lastBlockPlaced.put(name, time);
|
||||||
@@ -785,4 +785,4 @@ public class Backend
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user