Skip to content

Commit

Permalink
Fix player.entity_type tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 21, 2013
1 parent 2f2063b commit 7e6e7f4
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 @@ -573,7 +573,7 @@ else if (attribute.startsWith("list.offline")) {
// returns the dEntity object of the player.
// (Note: This should never actually be needed. <p@player> is considered a valid dEntity by script commands.)
// -->
if (attribute.startsWith("entity"))
if (attribute.startsWith("entity") && !attribute.startsWith("entity_"))
return new dEntity(getPlayerEntity())
.getAttribute(attribute.fulfill(1));

Expand Down

0 comments on commit 7e6e7f4

Please sign in to comment.