Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 63e07d12c8 |
1 changed files with 6 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ namespace Whisper;
|
|||
public class Whisper : BasePlugin, IPluginConfig<WhisperConfig>
|
||||
{
|
||||
public override string ModuleName => "Whisper";
|
||||
public override string ModuleVersion => "0.2.0";
|
||||
public override string ModuleVersion => "0.2.1";
|
||||
public override string ModuleAuthor => "astra";
|
||||
public override string ModuleDescription => "Private messages between players";
|
||||
|
||||
|
|
@ -116,6 +116,9 @@ public class Whisper : BasePlugin, IPluginConfig<WhisperConfig>
|
|||
_writer.Start();
|
||||
}
|
||||
|
||||
// Only on a hot reload: at server start nobody's connected yet, and the player list can't be
|
||||
// read before the server has set up (it throws). Everyone's blocks load as they join.
|
||||
if (hotReload)
|
||||
foreach (var player in Humans())
|
||||
LoadBlocks(player.SteamID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue