补丁拾取物品系统(由最新版本的Hytale服务器修复)

补丁拾取物品系统(由最新版本的Hytale服务器修复)

此模组修复了在空引用时修补Hytale PickupItemSystem的以下错误(使用 https://www.curseforge.com/hytale/mods/hyxin)

杂项

此模组修复了在使用 Hytale 拾取物品系统 时,因空引用(nullref)导致的以下报错:

java.lang.NullPointerException: Cannot invoke "com.hypixel.hytale.component.Ref.isValid()" because "targetRef" is null at com.hypixel.hytale.server.core.modules.entity.item.PickupItemSystem.tick(PickupItemSystem.java:69) at com.hypixel.hytale.component.system.tick.EntityTickingSystem.doTick(EntityTickingSystem.java:92) at com.hypixel.hytale.component.system.tick.EntityTickingSystem.tick(EntityTickingSystem.java:36) at com.hypixel.hytale.component.Store.tick(Store.java:1971) at com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem.tick(ArchetypeTickingSystem.java:36) at com.hypixel.hytale.component.Store.tickInternal(Store.java:1927) at com.hypixel.hytale.component.Store.tick(Store.java:1897) at com.hypixel.hytale.server.core.universe.world.World.tick(World.java:398) at com.hypixel.hytale.server.core.util.thread.TickingThread.run(TickingThread.java:89) at java.base/java.lang.Thread.run(Unknown Source)

安装说明

  1. 在服务器根目录下创建 earlyplugins 文件夹。
  2. .jar 文件放入其中。
  3. 启动服务器时,请使用以下参数: java -jar Server/HytaleServer.jar --assets Assets.zip --accept-early-plugins

image