补丁生成参考系统(补丁游戏)

补丁生成参考系统(补丁游戏)

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

实用

本模组修复了在 HyxIn 出现空引用(nullref)时,修补 hytale SpawnReferenceSystems 的以下错误。/!\ 在最新版本中,请从 https://www.curseforge.com/hytale/mods/hyxin 安装 HyxIn /!\ :

java.lang.NullPointerException: Cannot read the array length because "<local15>" is null at com.hypixel.hytale.server.npc.systems.SpawnReferenceSystems$MarkerAddRemoveSystem.onEntityRemove(SpawnReferenceSystems.java:166) at com.hypixel.hytale.component.Store.removeEntity(Store.java:848) at com.hypixel.hytale.component.CommandBuffer.lambda$removeEntity$0(CommandBuffer.java:292) at com.hypixel.hytale.component.CommandBuffer.consume(CommandBuffer.java:520) at com.hypixel.hytale.component.Store.addEntity(Store.java:599) at com.hypixel.hytale.component.Store.addEntity(Store.java:519) at com.hypixel.hytale.server.flock.StoredFlock.restoreNPCs(StoredFlock.java:61) at com.hypixel.hytale.server.spawning.spawnmarkers.SpawnMarkerSystems$Ticking.lambda$tick$0(SpawnMarkerSystems.java:355) at com.hypixel.hytale.component.CommandBuffer.consume(CommandBuffer.java:520) at com.hypixel.hytale.component.Store.tick(Store.java:1981) 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(Thread.java:1474)

要安装此模组,请在根目录创建 earlyplugins 文件夹,并将 .jar 文件放入其中。同时,在启动服务器时使用以下参数:java -jar Server/HytaleServer.jar --assets Assets.zip --accept-early-plugins

image