diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-25 15:12:58 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-25 15:12:58 -0500 |
commit | 382b5fe914894b87e44462060ca7ae8415c9533e (patch) | |
tree | 33b909d1a5f432dde88107d5218ec907c8380d20 /src/SMAPI/Framework/Events/ManagedEvent.cs | |
parent | 8e0573d7d9f18792a19e741660b6a090cca1fb38 (diff) | |
download | SMAPI-382b5fe914894b87e44462060ca7ae8415c9533e.tar.gz SMAPI-382b5fe914894b87e44462060ca7ae8415c9533e.tar.bz2 SMAPI-382b5fe914894b87e44462060ca7ae8415c9533e.zip |
minor performance optimisation
Diffstat (limited to 'src/SMAPI/Framework/Events/ManagedEvent.cs')
-rw-r--r-- | src/SMAPI/Framework/Events/ManagedEvent.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Events/ManagedEvent.cs b/src/SMAPI/Framework/Events/ManagedEvent.cs index 65f6e38e..ebd79e6c 100644 --- a/src/SMAPI/Framework/Events/ManagedEvent.cs +++ b/src/SMAPI/Framework/Events/ManagedEvent.cs @@ -93,6 +93,7 @@ namespace StardewModdingAPI.Framework.Events } } +#if !SMAPI_3_0_STRICT /// <summary>An event wrapper which intercepts and logs errors in handler code.</summary> internal class ManagedEvent : ManagedEventBase<EventHandler> { @@ -156,4 +157,5 @@ namespace StardewModdingAPI.Framework.Events } } } +#endif } |