Skip to content

Commit 8947561

Browse files
committed
Update to Rocket 3.8.0.0
1 parent 9639e3b commit 8947561

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Zamirathe_HomeCommand/HomeCommandConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Zamirathe_HomeCommand
66
{
7-
public class HomeCommandConfiguration : RocketConfiguration
7+
public class HomeCommandConfiguration : IRocketConfiguration
88
{
99
public bool Enabled;
1010
public string DisabledMsg;
@@ -19,7 +19,7 @@ public class HomeCommandConfiguration : RocketConfiguration
1919
public string UnableMoveSinceMoveMsg;
2020
public string NoTeleportDiedMsg;
2121

22-
public RocketConfiguration DefaultConfiguration
22+
public IRocketConfiguration DefaultConfiguration
2323
{
2424
get
2525
{

Zamirathe_HomeCommand/HomePlayer.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ public void GoHome(Vector3 bedPos, byte bedRot, RocketPlayer player)
5353
{
5454
// Either not an admin or they don't get special wait restrictions.
5555
List<Group> hg = player.Groups;
56+
if (hg.Count <= 0)
57+
{
58+
Group group = new Group();
59+
group.Id = "default";
60+
hg.Add(group);
61+
}
5662
byte[] time2 = new byte[hg.Count];
5763
for (byte g=0;g<hg.Count;g++)
5864
{

Zamirathe_HomeCommand/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.1.0.1")]
36-
[assembly: AssemblyFileVersion("2.1.0.1")]
35+
[assembly: AssemblyVersion("2.1.0.3")]
36+
[assembly: AssemblyFileVersion("2.1.0.3")]

0 commit comments

Comments
 (0)