Fixed typo in findip command / Tweaks to kicking criteria

This commit is contained in:
Anuken
2018-04-11 10:25:59 -04:00
parent 697e288de2
commit bed34c4cad
2 changed files with 3 additions and 3 deletions

View File

@@ -172,12 +172,12 @@ public class NetServer extends Module{
TraceInfo info = admins.getTrace(Net.getConnection(id).address);
Weapon weapon = (Weapon)Upgrade.getByID(packet.weaponid);
float wtrc = 60;
float wtrc = 80;
if(!Timers.get("fastshoot-" + id + "-" + weapon.id, wtrc)){
info.fastShots.getAndIncrement(weapon.id, 0, 1);
if(info.fastShots.get(weapon.id, 0) > (int)(wtrc / (weapon.getReload() / 2f)) + 2){
if(info.fastShots.get(weapon.id, 0) > (int)(wtrc / (weapon.getReload() / 2f)) + 6){
kick(id, KickReason.kick);
}
}else{

View File

@@ -592,7 +592,7 @@ public class ServerControl extends Module {
}
Log.info("&lcUse the info command to examine each person individually.");
}else{
info("Nobody with that name could be found.");
info("Nobody with that IP could be found.");
}
});