Debug output ftw.
This commit is contained in:
parent
c81cd39fb3
commit
bcf6636df8
1 changed files with 0 additions and 5 deletions
|
|
@ -634,18 +634,13 @@ namespace TShockAPI
|
||||||
args.Type == 112 || args.Type == 23 || args.Type == 32 ) )
|
args.Type == 112 || args.Type == 23 || args.Type == 32 ) )
|
||||||
{
|
{
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
Console.WriteLine("{0} has been prevented from creeping to {1}, {2}", args.Type, args.X, args.Y);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Config.AllowHallowCreep && (args.Type == 109 || args.Type == 117 || args.Type == 116 ) )
|
if (!Config.AllowHallowCreep && (args.Type == 109 || args.Type == 117 || args.Type == 116 ) )
|
||||||
{
|
{
|
||||||
args.Handled = true;
|
args.Handled = true;
|
||||||
Console.WriteLine("{0} has been prevented from creeping to {1}, {2}", args.Type, args.X, args.Y);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLine("{0} has creeped to {1}, {2}", args.Type, args.X, args.Y);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnConnect(int ply, HandledEventArgs handler)
|
private void OnConnect(int ply, HandledEventArgs handler)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue