Skip to content

Commit

Permalink
Fix NPC data type, fixes #458
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 4, 2013
1 parent 6a25d8c commit c277a6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/aufdemrand/denizen/objects/dEntity.java
Expand Up @@ -276,6 +276,7 @@ public dEntity(NPC npc) {

if (npc.isSpawned()) {
this.entity = npc.getBukkitEntity();
this.entity_type = npc.getBukkitEntity().getType();
this.uuid = entity.getUniqueId();
}
} else dB.echoError("NPC referenced is null!");
Expand Down

1 comment on commit c277a6c

@mcmonkey4eva
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how the word "data" got in here... that should be "entity".

Please sign in to comment.