Mods should be able to modify the component during ServerChatEvent
Plugins need to use beforeModifications if they want the original message
@@ -312,6 +312,7 @@ private static boolean createAndPostServerChatEvent(SpongeToForgeEventData event
}
if (forgeEvent != null) {
forgeEventBus.post(eventData);
+ spongeEvent.setMessage(SpongeTexts.toText(forgeEvent.getComponent()));
}
return true;
}
