Fix some merge errors
This commit is contained in:
parent
9cefc69075
commit
bccbf46164
2 changed files with 1 additions and 2 deletions
|
|
@ -534,7 +534,7 @@ namespace TShockAPI
|
||||||
args.Player.SendTileSquare(tilex, tiley);
|
args.Player.SendTileSquare(tilex, tiley);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!args.Player.Group.HasPermission("editspawn") && RegionManager.InProtectedArea(tilex, tiley, Tools.GetPlayerIP(args.Player.Name)))
|
if (!args.Player.Group.HasPermission("editspawn") && TShock.Regions.InProtectedArea(tilex, tiley, Tools.GetPlayerIP(args.Player.Name)))
|
||||||
{
|
{
|
||||||
args.Player.SendMessage("Region protected from changes.", Color.Red);
|
args.Player.SendMessage("Region protected from changes.", Color.Red);
|
||||||
args.Player.SendTileSquare(tilex, tiley);
|
args.Player.SendTileSquare(tilex, tiley);
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,6 @@ namespace TShockAPI
|
||||||
#endif
|
#endif
|
||||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||||
|
|
||||||
Bans = new BanManager(FileTools.BansPath);
|
|
||||||
Backups = new BackupManager(Path.Combine(SavePath, "backups"));
|
Backups = new BackupManager(Path.Combine(SavePath, "backups"));
|
||||||
|
|
||||||
ConfigFile.ConfigRead += OnConfigRead;
|
ConfigFile.ConfigRead += OnConfigRead;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue