Skip to content

Commit

Permalink
Make dEntities actually work again
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 2, 2013
1 parent 02e782c commit 034c5eb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/net/aufdemrand/denizen/objects/dEntity.java
Expand Up @@ -948,17 +948,17 @@ public String identify() {
return "n@" + getNPC().getId();
else if (isPlayer())
return "p@" + getPlayer().getName();
}

// // Check if entity is a 'notable entity'
// if (isSaved(this))
// return "e@" + getSaved(this);

else if (isSpawned())
return "e@" + entity.getEntityId();
else if (isSpawned())
return "e@" + entity.getEntityId();
}

// Check if an entity_type is available
else if (entity_type != null)
// Check if an entity_type is available
if (entity_type != null)
return "e@" + entity_type.name();

return "null";
Expand Down

0 comments on commit 034c5eb

Please sign in to comment.