summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework/Utilities')
-rw-r--r--src/StardewModdingAPI/Framework/Utilities/ContextHash.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Framework/Utilities/ContextHash.cs b/src/StardewModdingAPI/Framework/Utilities/ContextHash.cs
index 0d8487bb..6c0fdc90 100644
--- a/src/StardewModdingAPI/Framework/Utilities/ContextHash.cs
+++ b/src/StardewModdingAPI/Framework/Utilities/ContextHash.cs
@@ -1,5 +1,4 @@
using System;
-using System.Collections;
using System.Collections.Generic;
namespace StardewModdingAPI.Framework.Utilities
@@ -25,7 +24,7 @@ namespace StardewModdingAPI.Framework.Utilities
/// <exception cref="InvalidOperationException">The specified key is already added.</exception>
public void Track(T key, Action action)
{
- if(this.Contains(key))
+ if (this.Contains(key))
throw new InvalidOperationException($"Can't track context for key {key} because it's already added.");
this.Add(key);