[Version 0.7.5.2]

- Make sure our timer is stopped on disable
 - Move Event reg before loading gates to stop portal material vanishing
This commit is contained in:
Steven Scott 2012-02-05 12:36:40 -08:00
parent 425d5a988d
commit 9f76acbc17
3 changed files with 14 additions and 9 deletions

3
README
View File

@ -201,6 +201,9 @@ createConflict=Gate conflicts with existing gate
=============
Changes
=============
[Version 0.7.5.2]
- Make sure our timer is stopped on disable
- Move Event reg before loading gates to stop portal material vanishing
[Version 0.7.5.1]
- Don't create button on failed creation
[Version 0.7.5.0]

View File

@ -89,6 +89,7 @@ public class Stargate extends JavaPlugin {
public void onDisable() {
Portal.closeAllGates();
Portal.clearGates();
getServer().getScheduler().cancelTasks(this);
}
public void onEnable() {
@ -106,6 +107,15 @@ public class Stargate extends JavaPlugin {
log.info(pdfFile.getName() + " v." + pdfFile.getVersion() + " is enabled.");
// Register events before loading gates to stop weird things happening.
pm.registerEvents(new pListener(), this);
pm.registerEvents(new bListener(), this);
pm.registerEvents(new vListener(), this);
pm.registerEvents(new eListener(), this);
pm.registerEvents(new wListener(), this);
pm.registerEvents(new sListener(), this);
this.loadConfig();
this.migrate();
this.reloadGates();
@ -124,14 +134,6 @@ public class Stargate extends JavaPlugin {
log.info("[Stargate] Vault v" + iConomyHandler.vault.getDescription().getVersion() + " found");
}
pm.registerEvents(new pListener(), this);
pm.registerEvents(new bListener(), this);
pm.registerEvents(new vListener(), this);
pm.registerEvents(new eListener(), this);
pm.registerEvents(new wListener(), this);
pm.registerEvents(new sListener(), this);
getServer().getScheduler().scheduleSyncRepeatingTask(this, new SGThread(), 0L, 100L);
}

View File

@ -1,6 +1,6 @@
name: Stargate
main: net.TheDgtl.Stargate.Stargate
version: 0.7.5.1
version: 0.7.5.2
description: Stargate mod for Bukkit
author: Drakia
website: http://www.thedgtl.net