您尚未登录,请登录后浏览更多内容! 登录 | 加入最MC

QQ登录

只需一步,快速开始

 找回密码
 加入最MC

QQ登录

只需一步,快速开始

查看: 1854|回复: 1
打印 上一主题 下一主题

[插件] Item Lore Stats插件出错!求帮忙

[复制链接]
  • TA的每日心情
    慵懒
    2018-11-21 19:51
  • 签到天数: 57 天

    [LV.5]常住居民I

    跳转到指定楼层
    楼主
    发表于 2017-2-5 11:50:33 | 只看该作者 |0人打赏回帖奖励 |倒序浏览 |阅读模式
    30MC币
    我这几天一直在做Rpg服务器,刚刚开始插件明明是好的,今天早上装了个Rpgitems4.09就出错了,我删了Rpgitems4.09也没有用!我在控制台输入/ils stats它会显示:“[ILS]You can olay run that command in-game!
    在游戏里面输入会显示:“An internal error occurred  while attempting to perform this command
    并且控制台还会显示:
    [12:28:47] [Server thread/ERROR]: Could not pass event EntityRegainHealthEvent to ItemLoreStats v7.38
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[Start.jar:git-Spigot-59b08be-0899683]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Start.jar:git-Spigot-59b08be-0899683]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Start.jar:git-Spigot-59b08be-0899683]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.EntityLiving.heal(EntityLiving.java:630) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.FoodMetaData.a(FoodMetaData.java:65) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.EntityHuman.s_(EntityHuman.java:223) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.EntityPlayer.l(EntityPlayer.java:282) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:366) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PacketPlayInFlying.a(SourceFile:126) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PacketPlayInFlying.a(SourceFile:8) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [Start.jar:git-Spigot-59b08be-0899683]
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_121]
            at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121]
            at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [Start.jar:git-Spigot-59b08be-0899683]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.EntityEquipment.getItemInMainHand()Lorg/bukkit/inventory/ItemStack;
            at com.github.supavitax.itemlorestats.ItemLoreStats.itemInMainHand(ItemLoreStats.java:384) ~[?:?]
            at com.github.supavitax.itemlorestats.ItemLoreStats$ItemLoreStatsListener.onRegenHealth(ItemLoreStats.java:1149) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[Start.jar:git-Spigot-59b08be-0899683]
            ... 18 more
    [12:28:47] [Craft Scheduler Thread - 8/WARN]: Exception in thread "Craft Scheduler Thread - 8"
    [12:28:47] [Craft Scheduler Thread - 8/WARN]: org.apache.commons.lang.UnhandledException: Plugin ItemLoreStats v7.38 generated an exception while executing task 22
            at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.EntityEquipment.getItemInMainHand()Lorg/bukkit/inventory/ItemStack;
            at com.github.supavitax.itemlorestats.ItemLoreStats.itemInMainHand(ItemLoreStats.java:384)
            at com.github.supavitax.itemlorestats.ItemLoreStats.updateHealth(ItemLoreStats.java:1070)
            at com.github.supavitax.itemlorestats.ItemLoreStats$ItemLoreStatsListener$2.run(ItemLoreStats.java:1268)
            at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71)
            at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
            ... 3 more

    [12:28:51] [Server thread/ERROR]: Could not pass event EntityRegainHealthEvent to ItemLoreStats v7.38
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[Start.jar:git-Spigot-59b08be-0899683]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Start.jar:git-Spigot-59b08be-0899683]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Start.jar:git-Spigot-59b08be-0899683]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.EntityLiving.heal(EntityLiving.java:630) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.FoodMetaData.a(FoodMetaData.java:65) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.EntityHuman.s_(EntityHuman.java:223) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.EntityPlayer.l(EntityPlayer.java:282) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:366) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PacketPlayInFlying.a(SourceFile:126) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PacketPlayInFlying.a(SourceFile:8) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [Start.jar:git-Spigot-59b08be-0899683]
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_121]
            at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121]
            at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [Start.jar:git-Spigot-59b08be-0899683]
            at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [Start.jar:git-Spigot-59b08be-0899683]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.EntityEquipment.getItemInMainHand()Lorg/bukkit/inventory/ItemStack;
            at com.github.supavitax.itemlorestats.ItemLoreStats.itemInMainHand(ItemLoreStats.java:384) ~[?:?]
            at com.github.supavitax.itemlorestats.ItemLoreStats$ItemLoreStatsListener.onRegenHealth(ItemLoreStats.java:1149) ~[?:?]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[Start.jar:git-Spigot-59b08be-0899683]
            ... 18 more
    求解决!!

    打赏

    0

    收藏

    0

    支持

    0

    反对

    0

    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
  • TA的每日心情
    慵懒
    2018-11-21 19:51
  • 签到天数: 57 天

    [LV.5]常住居民I

    沙发
     楼主| 发表于 2017-2-5 11:59:03 | 只看该作者
    请不要在意时间,这是昨天的
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 加入最MC

    本版积分规则