Skip to content

Commit

Permalink
Fix getting entities by ID outside the overworld
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 21, 2013
1 parent 7e6e7f4 commit 778e6f5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/java/net/aufdemrand/denizen/objects/dEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,11 @@ else if (entityGroup.matches("P@")) {

if (nmsEntity != null) {
entity = nmsEntity.getBukkitEntity();
break;
}
else {
return null;
}

if (entity != null) break;
}
if (entity != null) return new dEntity(entity);
return null;
}

// else if (isSaved(m.group(2)))
Expand Down

0 comments on commit 778e6f5

Please sign in to comment.