summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/EventArgsKeyPressed.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/EventArgsKeyPressed.cs')
-rw-r--r--src/SMAPI/Events/EventArgsKeyPressed.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Events/EventArgsKeyPressed.cs b/src/SMAPI/Events/EventArgsKeyPressed.cs
index d9d81e10..6204d821 100644
--- a/src/SMAPI/Events/EventArgsKeyPressed.cs
+++ b/src/SMAPI/Events/EventArgsKeyPressed.cs
@@ -1,3 +1,4 @@
+#if !SMAPI_3_0_STRICT
using System;
using Microsoft.Xna.Framework.Input;
@@ -24,3 +25,4 @@ namespace StardewModdingAPI.Events
}
}
}
+#endif