Could not pass event error

Discussion in 'Plugin Help/Development/Requests' started by SplitMuffin, Oct 23, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    SplitMuffin

    Could not pass event McMMOPlayerXpGainEvent to RandomPackage v9
    Could not pass event PlayerInteractEvent to RandomPackage v9
    these are the 2 most common erorrs in my console and i dont really understand enough to know what they mean if someone could help me it would be perfect

    if it helps more detailed error:
    https://pastebin.com/fJDwspyX
     
  2. Online

    timtower Administrator Administrator Moderator

    @SplitMuffin At least one of them requires legacyfactions, kinda hard to read though with the entire log on a single line.
     
  3. Offline

    SplitMuffin

    legacyfactions? so i am suppose to use legacy factions instead of normal factions?
     
  4. Online

    timtower Administrator Administrator Moderator

    @SplitMuffin Check the plugin page for that, don't know the plugin, can't check myself.
     
  5. Offline

    SplitMuffin

    alright i will attempt to use legacy factions now and see if it makes a difference

    seems to have fixed the PlayerInteractEvent issue but:

    [10:29:44] [Server thread/ERROR]: Could not pass event McMMOPlayerXpGainEvent to RandomPackage v9
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at com.gmail.nossr50.util.EventUtils.handleXpGainEvent(EventUtils.java:144) [mcMMO.jar:?]
    at com.gmail.nossr50.datatypes.player.McMMOPlayer.applyXpGain(McMMOPlayer.java:523) [mcMMO.jar:?]
    at com.gmail.nossr50.datatypes.player.McMMOPlayer.beginUnsharedXpGain(McMMOPlayer.java:491) [mcMMO.jar:?]
    at com.gmail.nossr50.datatypes.player.McMMOPlayer.beginXpGain(McMMOPlayer.java:481) [mcMMO.jar:?]
    at com.gmail.nossr50.runnables.skills.AwardCombatXpTask.run(AwardCombatXpTask.java:39) [mcMMO.jar:?]
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
    Caused by: java.lang.NoSuchMethodError: com.gmail.nossr50.events.experience.McMMOPlayerXpGainEvent.getXpGainReason()Lcom/gmail/nossr50/datatypes/skills/XPGainReason;
    at me.randomHashTags.RandomPackage.events.mcmmoEvents.McMMOPlayerXpGainEvents(mcmmoEvents.java:27) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_141]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_141]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigotmc-1.8.8-R0.1.jar:git-Spigot-e4d4710-e1ebe52]
    ... 15 more

    still giving me this error :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 24, 2017
  6. Online

    timtower Administrator Administrator Moderator

    @SplitMuffin That is probably due to incompatibility between the plugin versions.
     
Thread Status:
Not open for further replies.

Share This Page