Regions WORK!
This commit is contained in:
parent
7cef36cfd0
commit
75e3e58c80
3 changed files with 17 additions and 40 deletions
|
|
@ -333,6 +333,11 @@ namespace TShockAPI
|
|||
return true;
|
||||
}
|
||||
|
||||
if (TShock.Regions.InArea(x, y))
|
||||
{
|
||||
args.Player.SendMessage("Tick!");
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -565,6 +570,10 @@ namespace TShockAPI
|
|||
}
|
||||
}
|
||||
}
|
||||
if (TShock.Regions.InArea(tilex, tiley))
|
||||
{
|
||||
args.Player.SendMessage("Tick!");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue