Skip to content

Commit 27c9523

Browse files
committed
Small Changes.
1 parent 808dabf commit 27c9523

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

OtterGui

Penumbra.GameData/Structs/CustomizeData.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ IEnumerator IEnumerable.GetEnumerator()
2727
=> GetEnumerator();
2828

2929

30-
private unsafe byte At(int index)
30+
public byte At(int index)
3131
=> Data[index];
3232

33+
public void Set(int index, byte value)
34+
=> Data[index] = value;
35+
3336
public void Read(void* source)
3437
{
3538
fixed (byte* ptr = Data)

Penumbra/CommandHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private void OnCommand(string command, string arguments)
9292

9393
private bool PrintHelp(string arguments)
9494
{
95-
if (!string.Equals(arguments, "help", StringComparison.OrdinalIgnoreCase) && arguments == "?")
95+
if (!string.Equals(arguments, "help", StringComparison.OrdinalIgnoreCase) && arguments != "?")
9696
_chat.Print(new SeStringBuilder().AddText("The given argument ").AddRed(arguments, true)
9797
.AddText(" is not valid. Valid arguments are:").BuiltString);
9898
else

0 commit comments

Comments
 (0)