24 lines
900 B
Diff
24 lines
900 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: lexikiq <noellekiq@gmail.com>
|
|
Date: Sun, 20 Jun 2021 19:09:16 -0400
|
|
Subject: [PATCH] Add Player#setGameProfile
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/world/entity/player/Player.java b/src/main/java/net/minecraft/world/entity/player/Player.java
|
|
index 75995354090771370ba6b4aa8f4ded28186583e8..38388feb2a578d71568fbe17799c4f9a0d5f2c2c 100644
|
|
--- a/src/main/java/net/minecraft/world/entity/player/Player.java
|
|
+++ b/src/main/java/net/minecraft/world/entity/player/Player.java
|
|
@@ -1541,6 +1541,12 @@ public abstract class Player extends LivingEntity {
|
|
return this.gameProfile;
|
|
}
|
|
|
|
+ // Parchment start
|
|
+ public void setProfile(GameProfile gameProfile) {
|
|
+ this.gameProfile = gameProfile;
|
|
+ }
|
|
+ // Parchment end
|
|
+
|
|
public Inventory getInventory() {
|
|
return this.inventory;
|
|
}
|