fixed event publisher namespace

This commit is contained in:
MasterGordon 2022-11-23 19:28:38 +01:00
parent 940e23fe39
commit 1e6c9d27a6
2 changed files with 1 additions and 1 deletions

BIN
Mine2d/assets/light2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -23,7 +23,7 @@ public class EventPublisher
{
var types = this.GetType().Assembly
.GetTypesSafe()
.Where(t => t.Namespace != null && t.Namespace.StartsWith("Mine2d.frontend.events", StringComparison.Ordinal));
.Where(t => t.Namespace != null && t.Namespace.StartsWith("Mine2d.game.frontend.events", StringComparison.Ordinal));
foreach (var type in types)
{
var methods = type.GetMethods()