Skip to content

Commit

Permalink
Fix somebody changing functionality
Browse files Browse the repository at this point in the history
This originally returned whether the player was valid at all, now it
seems to return what the name actually implies it is?
  • Loading branch information
mcmonkey4eva committed Dec 21, 2014
1 parent cfb7d1b commit 02aa70c
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 @@ -104,7 +104,7 @@ static dPlayer valueOfInternal(String string, boolean announce) {
UUID uuid = UUID.fromString(string);
if (uuid != null) {
OfflinePlayer player = Bukkit.getOfflinePlayer(uuid);
if (player != null && player.hasPlayedBefore()) {
if (player != null) {
return new dPlayer(player);
}
}
Expand Down

0 comments on commit 02aa70c

Please sign in to comment.