Incompatibility with mod Recipes++ after update 5.0.0

This topic is closed (tagged ).
12 days ago

After the update, pesticides from the Recipes++ mod were no longer consumed.

Screenshot_175.png

12 days ago

已经重现了bug,确认bug存在,正在紧急修复中.感谢你的反馈🙏

12 days ago

image.png
感谢你的提醒和反馈,我升级V5.0.1,原本5.0的逻辑存在一个漏洞就是我判定了他的mod加载,但是同时也阻止了他的端口补丁,这是一个占用的问题,我现在修改了代码让出了位置,如此确保他的mod端口补丁可以顺利执行.从而实现兼容.
感谢你的测试,现在请升级5.0.1
解决方案

修改了以下文件:

  1. FarmPatches.cs :

    • 添加了 s_pesticidePortName 静态字段
    • 更新 PatchGreenhousePorts 方法,设置动态端口名称
    • 更新 ReceivePrefix 方法,使用动态端口名称
  2. FarmPortProductResolverPatch.cs :

    • 添加了 s_pesticidePortName 静态字段
    • 更新 GetOutputPortProductPrefix 方法,使用动态端口名称
37 Showing 13 of 3
Log in to reply.