Solved Morphs

Discussion in 'Spigot Plugin Development' started by FroZenKeyboard, May 13, 2017.

  1. So i am trying to make morphs, using a API called: "LibsDisguises". So when i click the Slime morph, in the inventoryclickevent. It came a NPE. And i can't figure it out.

    How i create and set the player to the morph:
    Code (Text):
                           MobDisguise mobDisguise = new MobDisguise(DisguiseType.SLIME);
                           DisguiseAPI.disguiseToAll(p, mobDisguise);
    Thanks!
     
  2. We would need to see the NPE..
    And the code at the offending line.


    But if the above is giving you an NPE I would suspect that DisguiseAPI is null

    Sent from my iPhone using Tapatalk
     
  3. Oh yea, sorry.

    Here it is:
    Code (Text):
    [14:59:55 WARN]: java.lang.NullPointerException
    [14:59:55 WARN]:        at me.libraryaddict.disguise.disguisetypes.Disguise.createDisguise(Disguise.java:104)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.disguisetypes.MobDisguise.<init>(MobDisguise.java:29)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.disguisetypes.MobDisguise.<init>(MobDisguise.java:16)
    [14:59:55 WARN]:        at me.frozen.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:67)
    [14:59:55 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [14:59:55 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [14:59:55 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [14:59:55 WARN]:        at java.lang.reflect.Method.invoke(Unknown Source)
    [14:59:55 WARN]:        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
    [14:59:55 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [14:59:55 WARN]:        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    [14:59:55 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [14:59:55 WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [14:59:55 WARN]:        at java.util.concurrent.FutureTask.run(Unknown Source)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [14:59:55 WARN]:        at java.lang.Thread.run(Unknown Source)
    [14:59:55 WARN]: java.lang.IllegalArgumentException: No suitable constructor could be found.
    [14:59:55 WARN]:        at com.comphenix.protocol.injector.PacketConstructor.withPacket(PacketConstructor.java:179)
    [14:59:55 WARN]:        at com.comphenix.protocol.injector.PacketFilterManager.createPacketConstructor(PacketFilterManager.java:952)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.utilities.DisguiseUtilities.<clinit>(DisguiseUtilities.java:132)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.disguisetypes.TargetedDisguise.setDisguiseTarget(TargetedDisguise.java:142)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.disguisetypes.MobDisguise.setDisguiseTarget(MobDisguise.java:99)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.disguisetypes.MobDisguise.setDisguiseTarget(MobDisguise.java:12)
    [14:59:55 WARN]:        at me.libraryaddict.disguise.DisguiseAPI.disguiseToAll(DisguiseAPI.java:260)
    [14:59:55 WARN]:        at me.frozen.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:68)
    [14:59:55 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [14:59:55 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [14:59:55 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [14:59:55 WARN]:        at java.lang.reflect.Method.invoke(Unknown Source)
    [14:59:55 WARN]:        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
    [14:59:55 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [14:59:55 WARN]:        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    [14:59:55 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [14:59:55 WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [14:59:55 WARN]:        at java.util.concurrent.FutureTask.run(Unknown Source)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [14:59:55 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [14:59:55 WARN]:        at java.lang.Thread.run(Unknown Source)
    [14:59:55 WARN]: Caused by: java.lang.RuntimeException: Detailed error [email protected]: [email protected]
    [14:59:55 WARN]:        at com.comphenix.protocol.error.RethrowErrorReporter.reportDetailed(RethrowErrorReporter.java:51)
    [14:59:55 WARN]:        at com.comphenix.protocol.error.RethrowErrorReporter.reportDetailed(RethrowErrorReporter.java:46)
    [14:59:55 WARN]:        at com.comphenix.protocol.injector.BukkitUnwrapper.getFieldUnwrapper(BukkitUnwrapper.java:230)
    [14:59:55 WARN]:        at com.comphenix.protocol.injector.BukkitUnwrapper.getSpecificUnwrapper(BukkitUnwrapper.java:186)
    [14:59:55 WARN]:        at com.comphenix.protocol.injector.BukkitUnwrapper.unwrapItem(BukkitUnwrapper.java:109)
    [14:59:55 WARN]:        at com.comphenix.protocol.injector.PacketConstructor.withPacket(PacketConstructor.java:143)
    [14:59:55 WARN]:        ... 27 more
    [14:59:55 ERROR]: Could not pass event InventoryClickEvent to Hub v1.0
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]
            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_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NoClassDefFoundError: com/comphenix/protocol/wrappers/Vector3F
            at me.libraryaddict.disguise.disguisetypes.MetaIndex.<clinit>(MetaIndex.java:36) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.Disguise.setupWatcher(Disguise.java:733) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.Disguise.setEntity(Disguise.java:643) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:104) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:12) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseEntity(DisguiseAPI.java:178) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseToAll(DisguiseAPI.java:265) ~[?:?]
            at me.frozen.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:68) ~[?:?]
            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:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            ... 15 more
    Caused by: java.lang.ClassNotFoundException: com.comphenix.protocol.wrappers.Vector3F
            at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_121]
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_121]
            at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_121]
            at me.libraryaddict.disguise.disguisetypes.MetaIndex.<clinit>(MetaIndex.java:36) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.Disguise.setupWatcher(Disguise.java:733) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.Disguise.setEntity(Disguise.java:643) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:104) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:12) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseEntity(DisguiseAPI.java:178) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseToAll(DisguiseAPI.java:265) ~[?:?]
            at me.frozen.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:68) ~[?:?]
            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:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            ... 15 more
     
  4. What's on line 67 of EnderChestInv.java?


    Sent from my iPhone using Tapatalk
     
  5. Code (Text):
    MobDisguise mobDisguise = new MobDisguise(DisguiseType.SLIME);
     
  6. Install ProtocolLib
    Code (Text):
     Caused by: java.lang.ClassNotFoundException: com.comphenix.protocol.wrappers.Vector3F
     
  7. New Error:
    Code (Text):
    [17:19:03 ERROR]: Could not pass event InventoryClickEvent to Hub v1.0
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]
            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_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class me.libraryaddict.disguise.disguisetypes.MetaIndex
            at me.libraryaddict.disguise.disguisetypes.Disguise.setupWatcher(Disguise.java:733) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.Disguise.setEntity(Disguise.java:643) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:104) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:12) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseEntity(DisguiseAPI.java:178) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseToAll(DisguiseAPI.java:265) ~[?:?]
            at me.pizzadeig.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:68) ~[?:?]
            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:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            ... 15 more
    [17:19:03 WARN]: java.lang.NullPointerException
    [17:19:03 WARN]:        at me.libraryaddict.disguise.disguisetypes.Disguise.createDisguise(Disguise.java:104)
    [17:19:03 WARN]:        at me.libraryaddict.disguise.disguisetypes.MobDisguise.<init>(MobDisguise.java:29)
    [17:19:03 WARN]:        at me.libraryaddict.disguise.disguisetypes.MobDisguise.<init>(MobDisguise.java:16)
    [17:19:03 WARN]:        at me.pizzadeig.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:67)
    [17:19:03 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [17:19:03 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [17:19:03 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [17:19:03 WARN]:        at java.lang.reflect.Method.invoke(Unknown Source)
    [17:19:03 WARN]:        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
    [17:19:03 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [17:19:03 WARN]:        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    [17:19:03 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [17:19:03 WARN]:        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [17:19:03 WARN]:        at java.util.concurrent.FutureTask.run(Unknown Source)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    [17:19:03 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    [17:19:03 WARN]:        at java.lang.Thread.run(Unknown Source)
    [17:19:03 ERROR]: Could not pass event InventoryClickEvent to Hub v1.0
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-db6de12-18fbb24]
            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_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-db6de12-18fbb24]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class me.libraryaddict.disguise.disguisetypes.MetaIndex
            at me.libraryaddict.disguise.disguisetypes.Disguise.setupWatcher(Disguise.java:733) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.Disguise.setEntity(Disguise.java:643) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:104) ~[?:?]
            at me.libraryaddict.disguise.disguisetypes.MobDisguise.setEntity(MobDisguise.java:12) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseEntity(DisguiseAPI.java:178) ~[?:?]
            at me.libraryaddict.disguise.DisguiseAPI.disguiseToAll(DisguiseAPI.java:265) ~[?:?]
            at me.pizzadeig.hub.Effekter.EnderChestInv.onclick(EnderChestInv.java:68) ~[?:?]
            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:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
            ... 15 more
    >

     
     
  8. Have you added LibsDisguise in your plugin.yml?
    Code (Text):
     Caused by: java.lang.NoClassDefFoundError: Could not initialize class me.libraryaddict.disguise.disguisetypes.MetaIndex