Needs to return true when tile explosives are detected

This commit is contained in:
Deathmax 2011-12-18 09:19:05 +08:00
parent ed6aa9c07b
commit 2c50598ac9

View file

@ -561,6 +561,7 @@ namespace TShockAPI
args.Player.SendTileSquare(x, y);
args.Player.SendMessage("Explosives are disabled!", Color.Red);
args.Player.LastExplosive = DateTime.UtcNow;
return true;
}
else
return TShock.Utils.HandleExplosivesUser(args.Player, TShock.Config.ExplosiveAbuseReason);