aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0176-Player.setPlayerProfile-API.patch
diff options
context:
space:
mode:
authorRiley Park <[email protected]>2024-07-21 03:42:04 -0700
committerRiley Park <[email protected]>2024-07-21 03:42:04 -0700
commit2a810b77f0ce62cd3be25b8850f61b448755ef6d (patch)
tree6b3c82b1909c678a3b1ce70ecf3e804ee63a989a /patches/server/0176-Player.setPlayerProfile-API.patch
parentc250671fda4de965baec473519f38879a93b4524 (diff)
downloadPaper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.tar.gz
Paper-2a810b77f0ce62cd3be25b8850f61b448755ef6d.zip
Diffstat (limited to 'patches/server/0176-Player.setPlayerProfile-API.patch')
-rw-r--r--patches/server/0176-Player.setPlayerProfile-API.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0176-Player.setPlayerProfile-API.patch b/patches/server/0176-Player.setPlayerProfile-API.patch
index d847c9d191..216bcf61aa 100644
--- a/patches/server/0176-Player.setPlayerProfile-API.patch
+++ b/patches/server/0176-Player.setPlayerProfile-API.patch
@@ -9,7 +9,7 @@ This can be useful for changing name or skins after a player has logged in.
public-f net.minecraft.world.entity.player.Player gameProfile
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index ec80a9138260497d0deccf3ade3f44fc849de1d5..72edfb965aca81c2d2442b794b42baa04ec713b3 100644
+index d64c3e66340d005e04ad99282c7ec4d731b9d919..4d3855749cc49414a3077005fd161bc04b018106 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -1472,7 +1472,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
@@ -40,10 +40,10 @@ index 2d9db1ac80216a509a7590254e422b3c4792e3ec..b31f00f2f0b7cec59301afe36c9dd7cd
playerName = gameprofile.getName();
uniqueId = gameprofile.getId();
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
-index 768a5c6ebc4466aae4108a79e1564b2bfc93463a..26cee48ea3650aaf87fd2ba9c70d4ca9a88e2d87 100644
+index 73b36f044ae7d6294a623df7620a1f7a016455f9..c4d083a970417e5052a80abd7bdebc2b8c119dd2 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
-@@ -831,10 +831,16 @@ public abstract class PlayerList {
+@@ -830,10 +830,16 @@ public abstract class PlayerList {
}
public void sendPlayerPermissionLevel(ServerPlayer player) {