Skip to content

Commit 0713423

Browse files
committed
Obsolete MessageHandlerAttribute as well
1 parent cb8db9e commit 0713423

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Reactor.API/Attributes/MessageHandlerAttribute.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Reactor.API.Attributes
44
{
5+
[Obsolete("Use IManager.GetMod(string modId).Instance to communicate between the mods instead." +
6+
"\nThis will be removed in Centrifuge 4.0.")]
57
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
68
public class MessageHandlerAttribute : Attribute
79
{

0 commit comments

Comments
 (0)