2019-06-14 02:27:40 +00:00
|
|
|
From 958e9e7c9563377bd386c7965b9f4afc0c9d3bf1 Mon Sep 17 00:00:00 2001
|
2018-11-09 02:35:00 +00: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
|
2019-06-06 15:36:57 +00:00
|
|
|
index 2a2105cbce..3a3ed039a2 100644
|
2018-11-09 02:35:00 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
2019-05-05 11:12:32 +00:00
|
|
|
@@ -35,9 +35,9 @@ public abstract class EntityMinecartAbstract extends Entity {
|
2018-11-09 02:35:00 +00: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
|
|
|
|
|
|
|
|
--
|
2019-05-05 11:32:20 +00:00
|
|
|
2.21.0
|
2018-11-09 02:35:00 +00:00
|
|
|
|