Commit EmojiHandler.cs and register OnEmoji hook.
This commit is contained in:
parent
f538ceb793
commit
c94d15e634
3 changed files with 6 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ namespace TShockAPI.Handlers
|
|||
{
|
||||
if (args.PlayerIndex != args.Player.Index)
|
||||
{
|
||||
TShock.Log.ConsoleError($"EmojiHandler: Packet is spoofing to be player ID {args.PlayerIndex}! - From [{args.Player.Index}]{args.Player.Name}");
|
||||
TShock.Log.ConsoleError($"EmojiHandler: Packet is spoofing to be player ID {args.PlayerIndex}! - From [{args.Player.Index}] {args.Player.Name}");
|
||||
args.Handled = true;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue