Skip to content

Commit

Permalink
chore: Remove duplicate method for identity override
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz committed Jun 9, 2022
1 parent f87ca20 commit 6151839
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/
package net.kyori.adventure.identity;

import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;

/**
Expand All @@ -38,11 +37,6 @@ public interface PlayerIdentified extends Identified {
* @return the player identity
* @since 4.12.0
*/
@Contract(pure = true)
@NotNull PlayerIdentity playerIdentity();

@Override
default @NotNull Identity identity() {
return this.playerIdentity();
}
@NotNull PlayerIdentity identity();
}

0 comments on commit 6151839

Please sign in to comment.