Added NoSlowdown, migrations to new config

This commit is contained in:
Rammelkast committed 2020-07-12 14:04:18 +02:00
1 parent add3fe5eae
commit 2086a01f80
20 files changed
+288 -243

No files matched your search

@@ -16,7 +16,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.rammelkast.anticheatreloaded.check;
import java.util.ArrayList;
@@ -758,10 +757,6 @@ public class Backend {
FlightCheck.MOVING_EXEMPT.put(player.getUniqueId(), System.currentTimeMillis() + magic.ENTERED_EXITED_TIME());
}
public void logToggleSneak(final Player player) {
FlightCheck.MOVING_EXEMPT.put(player.getUniqueId(), System.currentTimeMillis() + magic.SNEAK_TIME());
}
public void logTeleport(final Player player) {
manager.getUserManager().getUser(player.getUniqueId()).getMovementManager().lastTeleport = System.currentTimeMillis();
/* Data for fly/speed should be reset */