Add toString to messages & fix incorrect call

This commit is contained in:
s809
2024-06-06 21:25:32 +05:00
parent fb25423deb
commit 3f23281e8d
2 changed files with 2 additions and 2 deletions
@@ -179,7 +179,7 @@ public class FabricServerProxy implements AbstractModInitializer.IEventProxy
PluginChannelMessage message = AbstractPluginPacketSender.decodeMessage(buffer);
if (message != null)
{
ClientApi.INSTANCE.pluginMessageReceived(message);
ServerApi.INSTANCE.pluginMessageReceived(ServerPlayerWrapper.getWrapper(serverPlayer), message);
}
});
#endif