[Solved] Force Spout to load before plugin

Discussion in 'Plugin Development' started by coldandtired, Oct 16, 2011.

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

    coldandtired

    Hi,

    I recently wrote a plugin that's working fine, until I changed its name.

    After trial and error I discovered that any name I gave the .jar file that was alphabetically after Spout was fine, but any name before Spout caused a NoClassDefFoundError in org/getspout/spoutapi/gui/Container.

    So, how can I make sure that Spout gets loaded first?
     
  2. add:
    depend: [Spout]

    to your plugin.yml
     
  3. Offline

    coldandtired

    Thank you very much! I'm so happy it was something so easy to fix :)
     
Thread Status:
Not open for further replies.

Share This Page