Slight problem with Economy
pendo324 opened this issue ยท 1 comments
When I use the method econ.bankBalance(player.getName()) and try to print the data it returns to a String, I get a response like net.milkbowl.vault.economy.EconomyResponse@335fbef1 (those numbers are not static and change every time that method is evoked).
Not sure if its my fault, a known bug, or a problem with Vault. This was with Vault hooking into iConomy, by the way. I can post more code if necessary.
bankBalance is for banks, if you want to get the balance of a player's normal account you should use econ.getBalance.
There are no known issues with the iConomy connectors in Vault, however there are many known issues with iConomy. I suggest you test an active economy plugin rather than one that has not had an update in over a year.
If you need help on coding with Vault you can post up questions on the dbo/bukkit pages, on www.spout.org or find me on IRC in #spout or #heroes on irc.esper.net