This commit is contained in:
Olof Larsson
2011-10-09 18:35:39 +02:00
parent 10f535e637
commit a0c8fd8d7d
53 changed files with 974 additions and 860 deletions

View File

@@ -197,9 +197,18 @@ public class P extends MPlugin
@Override
public void onDisable()
{
Board.save();
Conf.save();
unhookEssentialsChat();
super.onDisable();
}
@Override
public void postSaveTask()
{
Board.save();
Conf.save();
}
// -------------------------------------------- //
// Integration with other plugins
@@ -500,17 +509,4 @@ public class P extends MPlugin
}
*/
// -------------------------------------------- //
// Save all
// -------------------------------------------- //
// TODO: Add a hook to this??
public static void saveAll()
{
// FPlayer.save();
// Faction.save();
Board.save();
Conf.save();
}
}