generated from AriasCreations/vsmodtemplate
Begin to add player sleeping percentage
This commit is contained in:
parent
3e0896f5f9
commit
1f5458b8b1
4 changed files with 21 additions and 2 deletions
|
@ -253,6 +253,14 @@ namespace AriasServerUtils
|
|||
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:updatedconfig"));
|
||||
}
|
||||
|
||||
internal static TextCommandResult HandleUpdateASUPSP(TextCommandCallingArgs args)
|
||||
{
|
||||
if (args[0] is int psp) ServerUtilities.config.PlayerSleepingPercentage = psp;
|
||||
ServerUtilities.MarkDirty();
|
||||
|
||||
return TextCommandResult.Success(Lang.Get($"{ServerUtilities.MOD_ID}:updatedconfig"));
|
||||
}
|
||||
|
||||
internal static TextCommandResult HandleWarp(TextCommandCallingArgs args)
|
||||
{
|
||||
string name = "default";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue