[Version 0.7.5.3]

- Added another check for Perm bridges.
This commit is contained in:
Steven Scott 2012-02-05 14:56:58 -08:00
parent 9f76acbc17
commit f676e2520f
3 changed files with 6 additions and 4 deletions

2
README
View File

@ -201,6 +201,8 @@ createConflict=Gate conflicts with existing gate
=============
Changes
=============
[Version 0.7.5.3]
- Added another check for Perm bridges.
[Version 0.7.5.2]
- Make sure our timer is stopped on disable
- Move Event reg before loading gates to stop portal material vanishing

View File

@ -123,8 +123,8 @@ public class Stargate extends JavaPlugin {
// Check to see if iConomy/Permissions is loaded yet.
permissions = (Permissions)checkPlugin("Permissions");
if (permissions != null && permissions.getDescription().getVersion().equals("2.7.2")) {
log.info("[Stargate] Permissions is 2.7.2, most likely a bridge, disabling.");
if (permissions != null && (permissions.getDescription().getVersion().equals("2.7.2") || permissions.getDescription().getVersion().equals("2.7.7"))) {
log.info("[Stargate] Permissions is 2.7.2/2.7.7, most likely a bridge, disabling.");
permissions = null;
}
if (iConomyHandler.setupeConomy(pm)) {
@ -1068,7 +1068,7 @@ public class Stargate extends JavaPlugin {
}
if (permissions == null) {
PluginDescriptionFile desc = event.getPlugin().getDescription();
if (desc.getName().equalsIgnoreCase("Permissions") && !desc.getVersion().equals("2.7.2")) {
if (desc.getName().equalsIgnoreCase("Permissions") && !desc.getVersion().equals("2.7.2") && !desc.getVersion().equals("2.7.7")) {
permissions = (Permissions)checkPlugin(event.getPlugin());
}
}

View File

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