Skip to content

Commit

Permalink
Vault update for player.money
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 22, 2016
1 parent 91ce122 commit 0976838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/aufdemrand/denizen/objects/dPlayer.java
Expand Up @@ -833,7 +833,7 @@ public String getAttribute(Attribute attribute) {
.getAttribute(attribute.fulfill(2));
}

return new Element(Depends.economy.getBalance(getName())) // TODO: Vault UUID support?
return new Element(Depends.economy.getBalance(getOfflinePlayer()))
.getAttribute(attribute.fulfill(1));

}
Expand Down

0 comments on commit 0976838

Please sign in to comment.