Skip to content

Commit b8b9b24

Browse files
committed
fix
1 parent 93a100c commit b8b9b24

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

CommandHome.cs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ namespace ZaupHomeCommand
1313
{
1414
public class CommandHome : IRocketCommand
1515
{
16-
public bool AllowFromConsole
17-
{
18-
get
19-
{
20-
return false;
21-
}
22-
}
2316
public string Name
2417
{
2518
get
@@ -49,6 +42,15 @@ public List<string> Permissions
4942
{
5043
get { return new List<string>() { }; }
5144
}
45+
46+
public AllowedCaller AllowedCaller
47+
{
48+
get
49+
{
50+
return AllowedCaller.Player;
51+
}
52+
}
53+
5254
public void Execute(IRocketPlayer caller, string[] bed)
5355
{
5456
UnturnedPlayer playerid = (UnturnedPlayer)caller;

lib/Assembly-CSharp.dll

82 KB
Binary file not shown.

lib/Rocket.API.dll

512 Bytes
Binary file not shown.

lib/Rocket.Core.dll

17.5 KB
Binary file not shown.

lib/Rocket.Unturned.dll

512 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)