diff --git a/MiraAPI/Events/MiraEventWrapper.cs b/MiraAPI/Events/MiraEventWrapper.cs
index 2a2c410a..9568d295 100644
--- a/MiraAPI/Events/MiraEventWrapper.cs
+++ b/MiraAPI/Events/MiraEventWrapper.cs
@@ -5,17 +5,26 @@ namespace MiraAPI.Events;
///
/// Wrapper for handlers.
///
-/// The action for the event handler.
-/// The priority of the handler.
-public class MiraEventWrapper(Delegate eventHandler, int priority)
+public class MiraEventWrapper
{
///
/// Gets the event handler delegate.
///
- public Delegate EventHandler { get; } = eventHandler;
+ public Delegate EventHandler { get; }
///
/// Gets the priority of the handler. Lower values are called first.
///
- public int Priority { get; } = priority;
+ public int Priority { get; }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The action for the event handler.
+ /// The priority of the handler.
+ internal MiraEventWrapper(Delegate eventHandler, int priority)
+ {
+ EventHandler = eventHandler;
+ Priority = priority;
+ }
}