aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2023-09-24 12:35:16 +1000
committerNassim Jahnke <[email protected]>2023-09-24 12:35:16 +1000
commit2ec643a53ceae5960a1b128aad9f177f6ae81ed7 (patch)
tree2a62189af40a2f5ad36e5f0d3641bff81578a94b /patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch
parent6be43952eb6088a3f0c9a04ede96707e720203e3 (diff)
downloadPaper-2ec643a53ceae5960a1b128aad9f177f6ae81ed7.tar.gz
Paper-2ec643a53ceae5960a1b128aad9f177f6ae81ed7.zip
Readd anti xray and oversized block entity patches
Diffstat (limited to 'patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch')
-rw-r--r--patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch b/patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch
deleted file mode 100644
index cd353d7693..0000000000
--- a/patches/server/0490-Fix-Player-spawnParticle-x-y-z-precision-loss.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Esophose <[email protected]>
-Date: Sat, 3 Oct 2020 18:57:47 -0600
-Subject: [PATCH] Fix Player spawnParticle x/y/z precision loss
-
-
-diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-index a0ee2811d691f0088d94a308705dab5529d52810..47fdb3c21e10f86c34c1634708dac784577cd5f0 100644
---- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-@@ -2536,7 +2536,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
- if (data != null) {
- Preconditions.checkArgument(particle.getDataType().isInstance(data), "data (%s) should be %s", data.getClass(), particle.getDataType());
- }
-- ClientboundLevelParticlesPacket packetplayoutworldparticles = new ClientboundLevelParticlesPacket(CraftParticle.toNMS(particle, data), true, (float) x, (float) y, (float) z, (float) offsetX, (float) offsetY, (float) offsetZ, (float) extra, count);
-+ ClientboundLevelParticlesPacket packetplayoutworldparticles = new ClientboundLevelParticlesPacket(CraftParticle.toNMS(particle, data), true, x, y, z, (float) offsetX, (float) offsetY, (float) offsetZ, (float) extra, count); // Paper - Fix x/y/z coordinate precision loss
- this.getHandle().connection.send(packetplayoutworldparticles);
-
- }