Skip to content

Commit 58536cc

Browse files
Merge branch 'main' into dev
2 parents 600104a + b8db82e commit 58536cc

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

Code/MethodSystem/Methods/CASSIEMethods/CassieMethod.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ public override void Execute()
6767
}
6868
}
6969
}
70-
71-
// todo: check how to make the cassie silent again
70+
71+
// todo: check if this glitchScale works as intended
7272
Announcer.Message(
73-
message,
74-
subtitles,
75-
glitchScale: isNoisy ? 1f : 0f
73+
message,
74+
translation,
75+
glitchScale: isNoisy ? 1 : 0
7676
);
7777
}
7878
}

Code/Plugin/Commands/HelpSystem/DocsCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class DocsCommand : ICommand, IUsePermissions
1212
{
1313
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1414
{
15-
if (!sender.HasPermissions(Permission))
15+
if (!sender.HasAnyPermission(Permission))
1616
{
1717
response = "You do not have permission to create documentation.";
1818
return false;

Code/Plugin/Commands/MethodCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class MethodCommand : ICommand, IUsePermissions
1414

1515
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1616
{
17-
if (!sender.HasPermissions(RunPermission))
17+
if (!sender.HasAnyPermission(RunPermission))
1818
{
1919
response = "You do not have permission to run scripts.";
2020
return false;

Code/Plugin/Commands/ReloadCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class ReloadCommand : ICommand, IUsePermissions
1111
{
1212
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1313
{
14-
if (!sender.HasPermissions(Permission))
14+
if (!sender.HasAnyPermission(Permission))
1515
{
1616
response = "You do not have permission to reload scripts.";
1717
return false;

Code/Plugin/Commands/RunCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class RunCommand : ICommand, IUsePermissions
1212
{
1313
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1414
{
15-
if (!sender.HasPermissions(Permission))
15+
if (!sender.HasAnyPermission(Permission))
1616
{
1717
response = "You do not have permission to run scripts.";
1818
return false;

Code/Plugin/Commands/RunningScriptsCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ public class RunningScriptsCommand : ICommand, IUsePermissions
1111
{
1212
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1313
{
14-
if (!sender.HasPermissions(Permission))
14+
if (!sender.HasAnyPermission(Permission))
1515
{
16-
response = "You do not have permission see running scripts.";
16+
response = "You do not have permission to see running scripts.";
1717
return false;
1818
}
1919

Code/Plugin/Commands/StopAllCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class StopAllCommand : ICommand, IUsePermissions
1111
{
1212
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1313
{
14-
if (!sender.HasPermissions(Permission))
14+
if (!sender.HasAnyPermission(Permission))
1515
{
1616
response = "You do not have permission to stop scripts.";
1717
return false;

Code/Plugin/Commands/StopCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class StopCommand : ICommand, IUsePermissions
1111
{
1212
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
1313
{
14-
if (!sender.HasPermissions(Permission))
14+
if (!sender.HasAnyPermission(Permission))
1515
{
1616
response = "You do not have permission to stop scripts.";
1717
return false;

0 commit comments

Comments
 (0)