aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0288-Use-Vanilla-Minecart-Speeds.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2022-09-01 09:51:59 -0700
committerGitHub <[email protected]>2022-09-01 09:51:59 -0700
commit046466f3ba72d6bdaa0213cde64676dd0024ace0 (patch)
tree717d69c8521cac0e4881c009e636891e116c2378 /patches/server/0288-Use-Vanilla-Minecart-Speeds.patch
parenteff22eb0541559f05cf9a8c370d70c3b346f80f6 (diff)
downloadPaper-046466f3ba72d6bdaa0213cde64676dd0024ace0.tar.gz
Paper-046466f3ba72d6bdaa0213cde64676dd0024ace0.zip
Re-arrange most chunk system patches to front (#8338)
* Re-arrange most chunk system patches to front Co-authored-by: Spottedleaf <[email protected]>
Diffstat (limited to 'patches/server/0288-Use-Vanilla-Minecart-Speeds.patch')
-rw-r--r--patches/server/0288-Use-Vanilla-Minecart-Speeds.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/server/0288-Use-Vanilla-Minecart-Speeds.patch b/patches/server/0288-Use-Vanilla-Minecart-Speeds.patch
new file mode 100644
index 0000000000..9fde4a8e53
--- /dev/null
+++ b/patches/server/0288-Use-Vanilla-Minecart-Speeds.patch
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Aikar <[email protected]>
+Date: Thu, 8 Nov 2018 21:33:09 -0500
+Subject: [PATCH] Use Vanilla Minecart Speeds
+
+CraftBukkit changed the values on flying speed, restore back to vanilla
+
+diff --git a/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java b/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
+index a21bd9753ee9e86b33a66925c05e8494196729be..7d60f56b2e8206e8e546abdd06ea74a2ead6e75d 100644
+--- a/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
++++ b/src/main/java/net/minecraft/world/entity/vehicle/AbstractMinecart.java
+@@ -103,9 +103,9 @@ public abstract class AbstractMinecart extends Entity {
+ private double derailedX = 0.5;
+ private double derailedY = 0.5;
+ private double derailedZ = 0.5;
+- private double flyingX = 0.95;
+- private double flyingY = 0.95;
+- private double flyingZ = 0.95;
++ private double flyingX = 0.949999988079071D; // Paper - restore vanilla precision
++ private double flyingY = 0.949999988079071D; // Paper - restore vanilla precision
++ private double flyingZ = 0.949999988079071D; // Paper - restore vanilla precision
+ public double maxSpeed = 0.4D;
+ // CraftBukkit end
+