mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Halp me!
This commit is contained in:
1 parent
38d5b20a69
commit
8197e5e599
3 files changed
+3
-1
No files matched your search
@@ -51,6 +51,8 @@ public class Anticheat extends JavaPlugin {
|
||||
lagged = time > 1500;
|
||||
}
|
||||
}, 200L, 200L);
|
||||
l.log(Level.INFO,"--[Thanks for using a DEV build of AntiCheat!]--");
|
||||
l.log(Level.INFO,"If you notice any bugs, PLEASE report them on BukkitDev!");
|
||||
}
|
||||
|
||||
public void log(String s)
|
||||
|
||||
@@ -22,6 +22,7 @@ public class CommandManager implements CommandExecutor {
|
||||
this.plugin = plugin;
|
||||
this.tracker = plugin.tracker;
|
||||
}
|
||||
@Override
|
||||
public boolean onCommand(CommandSender cs, Command cmd, String alias, String[] args) {
|
||||
if(args.length == 2)
|
||||
{
|
||||
|
||||
@@ -113,7 +113,6 @@ public class PlayerListener implements Listener {
|
||||
{
|
||||
tracker.increaseLevel(player);
|
||||
plugin.log(player.getName()+" is using a boat too fast! XSpeed="+xd+" ZSpeed="+zd);
|
||||
event.setTo(event.getFrom().clone());
|
||||
}
|
||||
}
|
||||
else if(xd > 0.19D || zd > 0.19D)
|
||||
|
||||
Reference in new issue
Block a user