This is about the constructor of the following class:
SurvivalKit.Events.Network.RPCEvent
When the constructor is called, there is logic handling commands (see image below).
Wouldn't it be more nicer if we moved this logic to a new EventListener?
If we register this handler in the constructor of the EventAggregator we should always be able to handle commands before plugins are able to touch them.
The logic is marked in red on the following image:

This is about the constructor of the following class:
When the constructor is called, there is logic handling commands (see image below).
Wouldn't it be more nicer if we moved this logic to a new EventListener?
If we register this handler in the constructor of the EventAggregator we should always be able to handle commands before plugins are able to touch them.
The logic is marked in red on the following image:
