2020-05-06 11:48:49 +02:00
|
|
|
From 0000000000000000000000000000000000000000 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-06-25 16:09:55 +02:00
|
|
|
index 9124d00521463157df6348b84260f91a47e1f076..6e038905ea6e5245190e5970481195ba668f3247 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
|
2020-06-25 16:09:55 +02:00
|
|
|
@@ -62,9 +62,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
|
|
|
|
|