Editing the return in HandleSpecial; Fixes #2436.
This commit is contained in:
parent
988c36e3ac
commit
5bcd37949b
1 changed files with 2 additions and 1 deletions
|
|
@ -3240,6 +3240,7 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
TShock.Log.ConsoleDebug($"GetDataHandlers / HandleSpecial rejected enchanted sundial permission {args.Player.Name}");
|
TShock.Log.ConsoleDebug($"GetDataHandlers / HandleSpecial rejected enchanted sundial permission {args.Player.Name}");
|
||||||
args.Player.SendErrorMessage("You do not have permission to use the Enchanted Sundial.");
|
args.Player.SendErrorMessage("You do not have permission to use the Enchanted Sundial.");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
else if (TShock.Config.Settings.ForceTime != "normal")
|
else if (TShock.Config.Settings.ForceTime != "normal")
|
||||||
{
|
{
|
||||||
|
|
@ -3250,8 +3251,8 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
args.Player.SendErrorMessage("You must set ForceTime to normal via config to use the Enchanted Sundial.");
|
args.Player.SendErrorMessage("You must set ForceTime to normal via config to use the Enchanted Sundial.");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue