2020-03-15 21:03:36 +01:00
|
|
|
From 85ff7573d1b7480d8e511d2716db2cbedbe48acb Mon Sep 17 00:00:00 2001
|
2018-11-09 03:35:00 +01:00
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
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
|
2020-02-11 05:35:46 +01:00
|
|
|
index c2843d5d6..665bbe07f 100644
|
2018-11-09 03:35:00 +01:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
2019-12-12 17:20:43 +01:00
|
|
|
@@ -59,9 +59,9 @@ public abstract class EntityMinecartAbstract extends Entity {
|
2018-11-09 03:35:00 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
--
|
2020-03-15 21:03:36 +01:00
|
|
|
2.25.1
|
2018-11-09 03:35:00 +01:00
|
|
|
|