Merge pull request #6 from MilkBowl/master

sync
This commit is contained in:
Rodney Ramos 2012-12-13 18:46:14 -08:00
commit 47e923d2f0
3 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
name: Vault
main: net.milkbowl.vault.Vault
version: 1.2.22-b${BUILD_NUMBER}
version: 1.2.23-b${BUILD_NUMBER}
authors: [cereal, Sleaker, mung3r]
website: http://dev.bukkit.org/server-mods/vault
load: startup

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>1.2.22-SNAPSHOT</version>
<version>1.2.23-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@ -11,7 +11,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.4.5-R0.2</version>
<version>1.4.5-R0.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>de.hydrox.bukkit.DroxPerms</groupId>

View File

@ -53,7 +53,7 @@ public class Economy_iConomy6 implements Economy {
if (economy == null) {
Plugin ec = plugin.getServer().getPluginManager().getPlugin("iConomy");
if (ec != null && ec.isEnabled() && ec.getClass().getName().equals("com.iCo6.iConomy")) {
String version = ec.getDescription().getVersion().split(".")[0];
String version = ec.getDescription().getVersion().split("\\.")[0];
name += version;
economy = (iConomy) ec;
accounts = new Accounts();
@ -73,9 +73,8 @@ public class Economy_iConomy6 implements Economy {
public void onPluginEnable(PluginEnableEvent event) {
if (economy.economy == null) {
Plugin ec = plugin.getServer().getPluginManager().getPlugin("iConomy");
if (ec != null && ec.isEnabled() && ec.getClass().getName().equals("com.iCo6.iConomy")) {
String version = ec.getDescription().getVersion().split(".")[0];
String version = ec.getDescription().getVersion().split("\\.")[0];
name += version;
economy.economy = (iConomy) ec;
accounts = new Accounts();