跳到正文

KleidersFix

作者:Kontpab

Fixes a nullpointerexception error with Kleiders Custom Renderer API.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

The crash is in kleiders_custom_renderer (Kleiders Custom Renderer API), specifically PlayerVariablesSyncMessage.handleData. The Kleiders Custom Renderer API mod syncs custom player variables to clients via a packet that references an entity by its ID. When the referenced entity is no longer in the level (e.g. it died and got removed from the world before the sync packet was processed), level.getEntity(id) returns null, and the mod doesn’t null check that before calling .getData(...) on it, straight NullPointerException, which then errors out the network task handling and can desync/kick the client. This is a mod to remedy that.

常见问题

KleidersFix 支持哪些 Minecraft 版本?

KleidersFix 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

KleidersFix 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Kontpab 的其他作品

查看全部 →