aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2024-02-22 16:23:15 +0000
committerShane Freeder <[email protected]>2024-02-22 16:23:15 +0000
commit3ea95efdebba7254e842dec66214f71de4721993 (patch)
tree6e55ce324f94bae3f63fae40d816087adb9b8e83 /patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch
parent4939f8711884901ddf1c56337f606de71cdae78d (diff)
downloadPaper-3ea95efdebba7254e842dec66214f71de4721993.tar.gz
Paper-3ea95efdebba7254e842dec66214f71de4721993.zip
Do not access world state to see if we can see a Player
Thrown into the adventure patch because I don't see the justification of a patch existing for something like this.
Diffstat (limited to 'patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch')
-rw-r--r--patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch b/patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch
index daa573e1f0..487e99d1b8 100644
--- a/patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch
+++ b/patches/server/0667-Hide-unnecessary-itemmeta-from-clients.patch
@@ -18,10 +18,10 @@ index 86f6e5bad325dd3d817b643388b196121624b8c7..062225ac8b5fbc44290352d78b215640
}
}
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index bf790227e9716a9f678bea1914430c1c65027468..1fb3e89d6f7f9d048f083e80b1259480d4e67ef9 100644
+index ace2cab310aa7d89e1b76bf5fdc9fd64f56b6cc7..cf173a2315f3a97a89dc2aabe81be285abe73603 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -2561,8 +2561,8 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
+@@ -2565,8 +2565,8 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
// Refresh the current entity metadata
entity.getEntityData().refresh(ServerGamePacketListenerImpl.this.player);
// SPIGOT-7136 - Allays
@@ -33,7 +33,7 @@ index bf790227e9716a9f678bea1914430c1c65027468..1fb3e89d6f7f9d048f083e80b1259480
}
}
diff --git a/src/main/java/net/minecraft/world/entity/LivingEntity.java b/src/main/java/net/minecraft/world/entity/LivingEntity.java
-index fa11c0b3125ac74538848018fe6d8c88b78bfb2e..4e781939e7c980d095a4b0fdd11736ec48b4ecfa 100644
+index bd2449fd82a2415b9a0c1f588cd1815155a5d300..5c566576703a22bca9ab2cde7e201d893faece03 100644
--- a/src/main/java/net/minecraft/world/entity/LivingEntity.java
+++ b/src/main/java/net/minecraft/world/entity/LivingEntity.java
@@ -3202,7 +3202,7 @@ public abstract class LivingEntity extends Entity implements Attackable {