Skip to content

Commit 05865ef

Browse files
committed
Fix for not read config for wait times.
1 parent dad26f5 commit 05865ef

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.2.0.0")]
36-
[assembly: AssemblyFileVersion("2.2.0.0")]
35+
[assembly: AssemblyVersion("2.2.0.1")]
36+
[assembly: AssemblyFileVersion("2.2.0.1")]

ZaupHomeCommand.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@ public class HomeCommand : RocketPlugin<HomeCommandConfiguration>
2323
protected override void Load()
2424
{
2525
HomeCommand.Instance = this;
26-
if (this.State == PluginState.Loaded)
26+
foreach (HomeGroup hg in this.Configuration.Instance.WaitGroups)
2727
{
28-
foreach (HomeGroup hg in this.Configuration.Instance.WaitGroups)
29-
{
30-
WaitGroups.Add(hg.Id, hg.Wait);
31-
}
28+
WaitGroups.Add(hg.Id, hg.Wait);
3229
}
3330
}
3431
// All we are doing here is checking the config to see if anything like restricted movement or time restriction is enforced.

0 commit comments

Comments
 (0)