This patch fixed a Exception on server shutdown. Thanks to kalebbroo for reporting :3
It also fixes a possible bug if bukkit messes up with the enable order, which causes that depends are loaded after the plugin. Thanks to Esron for helping to figure this out.