Skip to content

Commit

Permalink
Add back getUniqueId to Bukkit's Entity (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
notdevcody authored Dec 30, 2023
1 parent 0a8d752 commit a9f8740
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/bukkit/entity/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,10 @@ public interface Entity {
* @return the last known {@link EntityDamageEvent} or null if hitherto unharmed
*/
public EntityDamageEvent getLastDamageCause();

/**
* Returns a unique and persistent id for this entity
* @return unique id
*/
public UUID getUniqueId();
}

0 comments on commit a9f8740

Please sign in to comment.