Basic PlayerProfile API

Provides basic elements of a PlayerProfile to be used by future API/events
This commit is contained in:
Aikar
2018-01-15 21:46:46 -05:00
parent 95384179d4
commit ccd4375fa5
5 changed files with 478 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ public interface PlayerProfile extends Cloneable, ConfigurationSerializable {
* PlayerProfile once it is available
*/
@NotNull
CompletableFuture<PlayerProfile> update();
CompletableFuture<? extends PlayerProfile> update(); // Paper
@NotNull
PlayerProfile clone();