报错内容见下,SX-Attribute插件版本3.6.4重制版
服务端版本1.12.2Mohist玩家攻击/防御时出现报错
服务端版本1.12.2Mohist玩家攻击/防御时出现报错
[19:13:28] [Server thread/WARN] []: java.lang.IllegalAccessException: Class github.saukiya.sxattribute.util.nms.NMS_v1_12_R1 can not access a member of class net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1 with modifiers "public"
[19:13:28] [Server thread/WARN] []: at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
[19:13:28] [Server thread/WARN] []: at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(Unknown Source)
[19:13:28] [Server thread/WARN] []: at java.lang.reflect.AccessibleObject.checkAccess(Unknown Source)
[19:13:28] [Server thread/WARN] []: at java.lang.reflect.Method.invoke(Unknown Source)
[19:13:28] [Server thread/WARN] []: at github.saukiya.sxattribute.util.nms.NMS_v1_12_R1.sendActionBar(NMS_v1_12_R1.java:70)
[19:13:28] [Server thread/WARN] []: at github.saukiya.sxattribute.util.Message$Tool.send(Message.java:191)
[19:13:28] [Server thread/WARN] []: at github.saukiya.sxattribute.util.Message$Tool.send(Message.java:177)
[19:13:28] [Server thread/WARN] []: at github.saukiya.sxattribute.data.attribute.sub.attack.Real.eventMethod(Real.java:45)
[19:13:28] [Server thread/WARN] []: at github.saukiya.sxattribute.listener.ListenerDamage.onEntityDamageByEntityEvent(ListenerDamage.java:93)
[19:13:28] [Server thread/WARN] []: at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:36)
[19:13:28] [Server thread/WARN] []: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66)
[19:13:28] [Server thread/WARN] []: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
[19:13:28] [Server thread/WARN] []: at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:189)
[19:13:28] [Server thread/WARN] []: at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:715)
[19:13:28] [Server thread/WARN] []: at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:586)
[19:13:28] [Server thread/WARN] []: at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:745)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1617)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.player.EntityPlayer.damageEntity_CB(EntityPlayer.java:1221)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:1053)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1092)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:825)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.monster.EntityMob.func_70652_k(EntityMob.java:98)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.monster.EntityZombie.func_70652_k(EntityZombie.java:306)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.ai.EntityAIAttackMelee.func_190102_a(EntityAIAttackMelee.java:179)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.ai.EntityAIAttackMelee.func_75246_d(EntityAIAttackMelee.java:168)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.ai.EntityAIZombieAttack.func_75246_d(SourceFile:28)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:825)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2627)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:624)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.monster.EntityMob.func_70636_d(EntityMob.java:44)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.monster.EntityZombie.func_70636_d(EntityZombie.java:235)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2445)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:333)
[19:13:28] [Server thread/WARN] []: at net.minecraft.entity.monster.EntityMob.func_70071_h_(EntityMob.java:49)
[19:13:28] [Server thread/WARN] []: at net.minecraft.world.World.func_72866_a(World.java:2364)
[19:13:28] [Server thread/WARN] []: at net.minecraft.world.World.func_72870_g(World.java:2315)
[19:13:28] [Server thread/WARN] []: at net.minecraft.world.World.func_72939_s(World.java:2093)
[19:13:28] [Server thread/WARN] []: at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:856)
[19:13:28] [Server thread/WARN] []: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:900)
[19:13:28] [Server thread/WARN] []: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:468)
[19:13:28] [Server thread/WARN] []: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:775)
[19:13:28] [Server thread/WARN] []: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:618)
[19:13:28] [Server thread/WARN] []: at java.lang.Thread.run(Unknown Source)
核心更换为 CatServer,以及不要使用 quote 代码,不然引用的报错会超出屏幕无法渲染
模组服建议使用cat核心,以及推荐使用ap而不是sx
名副其实 发表于 2023-7-14 19:57
核心更换为 CatServer,以及不要使用 quote 代码,不然引用的报错会超出屏幕无法渲染 ...
已经删掉quote代码,能不换服务端核心吗,有部分插件在CatServer无法运行
Alpha-∞ 发表于 2023-7-14 22:37
已经删掉quote代码,能不换服务端核心吗,有部分插件在CatServer无法运行
没有办法,不兼容的插件建议联系作者更新,或者干脆别用。
换成cat端试试吧