This commit is contained in:
Adam committed 2012-04-18 23:14:56 -04:00
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)