aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch
diff options
context:
space:
mode:
authorProf-Bloodstone <[email protected]>2020-07-23 01:35:44 +0200
committerGitHub <[email protected]>2020-07-22 19:35:44 -0400
commit42433c2626c21a6bf22b958341e2f076dfb20dd0 (patch)
tree900745248d46e71ca8a3704fa4fd519e4a893de8 /Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch
parente5ede546a2153d2d022f6374673ab6e8d359c7e4 (diff)
downloadPaper-42433c2626c21a6bf22b958341e2f076dfb20dd0.tar.gz
Paper-42433c2626c21a6bf22b958341e2f076dfb20dd0.zip
Updated Upstream (Bukkit/CraftBukkit) (#3980)
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 09f10fd9 SPIGOT-5950: Add PrepareSmithingEvent event CraftBukkit Changes: 7c03d257 SPIGOT-6011: End Gateways do not work on Non-Main End Worlds d492e363 SPIGOT-6015: Small Armor Stand doesn't drop items 5db13eea SPIGOT-5950: Add PrepareSmithingEvent event
Diffstat (limited to 'Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch')
-rw-r--r--Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch b/Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch
index 8ca8ee5d2a..8b89c30666 100644
--- a/Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch
+++ b/Spigot-Server-Patches/0354-Per-Player-View-Distance-API-placeholders.patch
@@ -40,7 +40,7 @@ index 9331f96f68f121b41ce74904d624520291b7c72e..1074995e8c8a83f6cdb94019123fbffa
double deltaZ = this.locZ() - player.locZ();
double distanceSquared = deltaX * deltaX + deltaZ * deltaZ;
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-index 1b596878942e3911be4e5c501d6f5d6c1a1707e8..3ed64e19b9e0287a7396b9b5a63641794fad583c 100644
+index ff602df37c0a621cfe6ebce13ae6cc777378e591..c3d84b1d53e835cf467c42c7adaeb774010366af 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
@@ -2031,6 +2031,16 @@ public class CraftPlayer extends CraftHumanEntity implements Player {