该模组已合并至 MPEM MOD 3.0 版本。
在接下来的文本中,DH 将用来代替 Distant Horizons 模组,MPEM 将用来代替 Moonlit Performance Enhancement Module 模组。
如果你未在客户端安装此模组,DH 将会崩溃,因为 ForgeClientProxy 类中名为 PACKET_SENDER 的字段或其内部的 MC 字段为空。
如果你未在服务器端安装此模组,DH 将会崩溃,因为 ForgeServerProxy 类中名为 PACKET_SENDER 的字段为空。
为什么 DH 会崩溃?
因为 MPEM 模组修改了 Forge 事件系统。尽管在绝大多数模组中这并无大碍,但这一修改影响了 DH 模组,导致其无法正常运行。
如何解决?
本模组通过使用 mixin 来修复此问题。它注入了 ForgeClientProxy 和 ForgeServerProxy 类,以确保这些字段不为空。如果字段为空,本模组会对其进行修改,使其不再为空。
This mod has been marged into the MPEM MOD 3.0 version.
In the following text, the DH will be used instead of the Distant Horizons mod,and the MPEM will be used instead of the Moonlit Performance Enhancement Module mod.
If you don't install this mod in the client side,the DH will crash because the field named PACKET_SENDER in the ForgeClientProxy class or the field named MC in it is null.
And if you don't install this mod in the server side,the DH will crash because the field named PACKET_SENDER in the ForgeServerProxy class is null.
Why DH will crash?
Because the MPEM mod modified the Forge Event System,although in almost mods,it is okay,however,This modification affected the DH mod,make it won't run in a right way.
How to fix it?
This mod fixed it by using the mixin.This mod injected the ForgeClientProxy and ForgeServerProxy class to let the fields won't be null.If the field is null,this mod will modify it to make it not be null.
在接下来的文本中,DH将被用来代替遥远的地平线模组,MPEM将被用来代替月夜性能优化模组。
如果你没有在客户端安装这个mod, DH则将会崩溃,因为在ForgeClientProxy类中名为PACKET_SENDER的字段或在其中名为MC的字段为空。
如果你没有在服务器端安装这个mod, DH则将会崩溃,因为在ForgeServerProxy类中名为PACKET_SENDER的字段是空的。
为什么DH会崩溃?
因为MPEM 模组修改了Forge 的事件系统,虽然在几乎所有的模组中,这是无伤大雅的,但是,这个修改却影响了DH 模组,使它不能以正确的方式运行。
如何解决这个问题?
这个模组通过使用mixin来修复它。这个模组注入了ForgeClientProxy和ForgeServerProxy类,让字段不会为空。如果字段为空,这个模组将修改它,使其不为空。
评论 0
登录后参与评分
还没有评论,来抢沙发吧