aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0870-Add-Listing-API-for-Player.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0870-Add-Listing-API-for-Player.patch')
-rw-r--r--patches/server/0870-Add-Listing-API-for-Player.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0870-Add-Listing-API-for-Player.patch b/patches/server/0870-Add-Listing-API-for-Player.patch
index 45d76a9d22..8f4e9c9d40 100644
--- a/patches/server/0870-Add-Listing-API-for-Player.patch
+++ b/patches/server/0870-Add-Listing-API-for-Player.patch
@@ -119,7 +119,7 @@ index be6bf7afa3cea4ed48f363e89ccd079062edc8d9..9b1a6d8351fb473eec75a2fd08fb892b
// Paper end - Use single player info update packet on join
player.sentListPacket = true;
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-index 296bb88ed34f499535ef0b9fdffa67b7de81c60b..e4de4ed09b20ed224eadcbc6d650192897c4def5 100644
+index 4c5249eab8e59b46c902f2cb65f90aa2a66a33d4..204e4e4dd197088457cd6d2a18f86287ca3324b2 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
@@ -201,6 +201,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
@@ -130,7 +130,7 @@ index 296bb88ed34f499535ef0b9fdffa67b7de81c60b..e4de4ed09b20ed224eadcbc6d6501928
private static final WeakHashMap<Plugin, WeakReference<Plugin>> pluginWeakReferences = new WeakHashMap<>();
private int hash = 0;
private double health = 20;
-@@ -2091,7 +2092,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
+@@ -2092,7 +2093,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
otherPlayer.setUUID(uuidOverride);
}
// Paper end
@@ -139,7 +139,7 @@ index 296bb88ed34f499535ef0b9fdffa67b7de81c60b..e4de4ed09b20ed224eadcbc6d6501928
if (original != null) otherPlayer.setUUID(original); // Paper - uuid override
}
-@@ -2195,6 +2196,41 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
+@@ -2196,6 +2197,41 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
return (entity != null) ? this.canSee(entity) : false; // If we can't find it, we can't see it
}