diff options
Diffstat (limited to 'Spigot-Server-Patches/0391-Use-Vanilla-Minecart-Speeds.patch')
-rw-r--r-- | Spigot-Server-Patches/0391-Use-Vanilla-Minecart-Speeds.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0391-Use-Vanilla-Minecart-Speeds.patch b/Spigot-Server-Patches/0391-Use-Vanilla-Minecart-Speeds.patch new file mode 100644 index 0000000000..98f1f1429a --- /dev/null +++ b/Spigot-Server-Patches/0391-Use-Vanilla-Minecart-Speeds.patch @@ -0,0 +1,27 @@ +From 4117def33cefa1ab5d4692c6f0f304b8459d6ae7 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/server/EntityMinecartAbstract.java b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java +index 0f531e7d42..8e773edc54 100644 +--- a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java ++++ b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java +@@ -37,9 +37,9 @@ public abstract class EntityMinecartAbstract extends Entity implements INamableT + 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 + +-- +2.21.0 + |