SpigotMC/BungeeCord — pull request #1145 by Gabscap (2014-08-03 06:45:45+00:00)
Title: Disabling plugins in depends-order

This commit disables/unloads plugins in their depends-order. So far, plugins were disabled in random order.
Example: _**A** depends on **B**_
**A** uses a MySQL connection which is handled by **B**. If **B** would be disabled first and **A** uses the MySQL connection in their onDisable() it would generate an exception.