Removed pointless db user query on tile changes.

This commit is contained in:
high 2011-07-22 05:17:43 -04:00
parent 8fe66e2ba4
commit d6a3e3b69c

View file

@ -332,7 +332,6 @@ namespace TShockAPI.DB
public bool CanBuild(int x, int y, TSPlayer ply)
{
User user = TShock.Users.GetUserByName(ply.TPlayer.name);
if (!ply.Group.HasPermission("canbuild"))
{
return false;