Added missing e.Handleds

This commit is contained in:
high 2011-06-06 14:04:39 -04:00
parent 196edcc3bf
commit a375165db4

View file

@ -294,6 +294,7 @@ namespace TShockAPI
Tools.Kick(ply, "Abnormal life increase");
Tools.Broadcast(playerName + " was " + (ConfigurationManager.kickCheater ? "banned" : "kicked") +
" because they gained an abnormal amount of health.");
e.Handled = true;
}
}
}
@ -326,6 +327,7 @@ namespace TShockAPI
Tools.Kick(ply, "Abnormal mana increase");
Tools.Broadcast(playerName + " was " + (ConfigurationManager.kickCheater ? "banned" : "kicked") +
" because they gained an abnormal amount of mana.");
e.Handled = true;
}
}
}
@ -346,6 +348,7 @@ namespace TShockAPI
{
Log.Info(Tools.FindPlayer(e.Msg.whoAmI) + " was kicked for trying to fake chat as someone else.");
Ban(ply, "Faking Chat");
e.Handled = true;
}
}
}