[Version 0.7.5.3]
- Added another check for Perm bridges.
This commit is contained in:
parent
9f76acbc17
commit
f676e2520f
2
README
2
README
@ -201,6 +201,8 @@ createConflict=Gate conflicts with existing gate
|
|||||||
=============
|
=============
|
||||||
Changes
|
Changes
|
||||||
=============
|
=============
|
||||||
|
[Version 0.7.5.3]
|
||||||
|
- Added another check for Perm bridges.
|
||||||
[Version 0.7.5.2]
|
[Version 0.7.5.2]
|
||||||
- Make sure our timer is stopped on disable
|
- Make sure our timer is stopped on disable
|
||||||
- Move Event reg before loading gates to stop portal material vanishing
|
- Move Event reg before loading gates to stop portal material vanishing
|
||||||
|
@ -123,8 +123,8 @@ public class Stargate extends JavaPlugin {
|
|||||||
|
|
||||||
// Check to see if iConomy/Permissions is loaded yet.
|
// Check to see if iConomy/Permissions is loaded yet.
|
||||||
permissions = (Permissions)checkPlugin("Permissions");
|
permissions = (Permissions)checkPlugin("Permissions");
|
||||||
if (permissions != null && permissions.getDescription().getVersion().equals("2.7.2")) {
|
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, most likely a bridge, disabling.");
|
log.info("[Stargate] Permissions is 2.7.2/2.7.7, most likely a bridge, disabling.");
|
||||||
permissions = null;
|
permissions = null;
|
||||||
}
|
}
|
||||||
if (iConomyHandler.setupeConomy(pm)) {
|
if (iConomyHandler.setupeConomy(pm)) {
|
||||||
@ -1068,7 +1068,7 @@ public class Stargate extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
if (permissions == null) {
|
if (permissions == null) {
|
||||||
PluginDescriptionFile desc = event.getPlugin().getDescription();
|
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());
|
permissions = (Permissions)checkPlugin(event.getPlugin());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: Stargate
|
name: Stargate
|
||||||
main: net.TheDgtl.Stargate.Stargate
|
main: net.TheDgtl.Stargate.Stargate
|
||||||
version: 0.7.5.2
|
version: 0.7.5.3
|
||||||
description: Stargate mod for Bukkit
|
description: Stargate mod for Bukkit
|
||||||
author: Drakia
|
author: Drakia
|
||||||
website: http://www.thedgtl.net
|
website: http://www.thedgtl.net
|
||||||
|
Loading…
Reference in New Issue
Block a user