diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-08 22:23:04 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-08 22:23:04 +0000 |
commit | 5d31c3cfa3c266bde2bdd17ca65939552b6e668d (patch) | |
tree | 1ea804c1ef270d3ace3e5dda09f91dc274d92467 | |
parent | 816e840ba86827af959e07a9753580647fdc24e6 (diff) | |
download | Essentials-5d31c3cfa3c266bde2bdd17ca65939552b6e668d.tar Essentials-5d31c3cfa3c266bde2bdd17ca65939552b6e668d.tar.gz Essentials-5d31c3cfa3c266bde2bdd17ca65939552b6e668d.tar.lz Essentials-5d31c3cfa3c266bde2bdd17ca65939552b6e668d.tar.xz Essentials-5d31c3cfa3c266bde2bdd17ca65939552b6e668d.zip |
iConomy 5.0 support
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1374 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/UserData.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/UserData.java b/Essentials/src/com/earth2me/essentials/UserData.java index 82bcc0da0..0d9877451 100644 --- a/Essentials/src/com/earth2me/essentials/UserData.java +++ b/Essentials/src/com/earth2me/essentials/UserData.java @@ -68,7 +68,7 @@ public abstract class UserData extends PlayerExtension implements IConf { try { - return com.nijiko.coelho.iConomy.iConomy.getBank().getAccount(getName()).getBalance(); + return com.iConomy.iConomy.getAccount(getName()).getHoldings().balance(); } catch (Throwable ex) { @@ -83,7 +83,7 @@ public abstract class UserData extends PlayerExtension implements IConf { try { - com.nijiko.coelho.iConomy.iConomy.getBank().getAccount(getName()).setBalance(value); + com.iConomy.iConomy.getAccount(getName()).getHoldings().set(value); } catch (Throwable ex) { |