Skip to content

Commit

Permalink
fix player.last_played
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 28, 2015
1 parent e66e3ba commit fbfcb1c
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 @@ -1073,7 +1073,7 @@ else if (attribute.startsWith("uuid") && !isOnline())
else {
if (isOnline()) {
return new Duration(System.currentTimeMillis() / 50)
.getAttribute(attribute.fulfill(1));
.getAttribute(attribute);
}
else {
return new Duration(getOfflinePlayer().getLastPlayed() / 50)
Expand Down

0 comments on commit fbfcb1c

Please sign in to comment.